/
The .filetree docs ↗ function creates a visual file tree from a standard Markdown list.
Each inline item becomes a file, and each nested list becomes a directory.
.filetree
- src
- components
- Button.ts
- Card.ts
- index.ts
- README.mdAn item with ... as its text is rendered as an ellipsis, representing omitted content in the tree.
.filetree
- src
- main.ts
- ...
- LICENSE
- README.mdWrapping an entry’s name in bold (**...**) highlights it, useful for drawing attention to specific files or directories.
.filetree
- **src**
- main.ts
- utils.ts
- LICENSE
- **README.md**