Expand description
render — data structures for the structural views, no output
formatting.
Tree groups the store by layer → type → file; Outline groups one
file by its ## sections. Both are pure data; dbmd-cli formats them to
text or JSON. Keeping formatting out of the library lets every db.md-aware
tool render these structures its own way.
Structs§
- Outline
- One file’s section hierarchy: the file path plus its
##sections and their sub-sections. - Tree
- The store as a tree, grouped layer → type-folder → file.
- Tree
Layer - A layer branch of a
Tree. - Tree
Type Folder - A type-folder branch of a
Tree, aggregated across date-shards.