k4a-l7k downloadsRender a directory Structure Diagram from a Markdown lists in codeblock.
Render a directory Structure Diagram from a markdown lists in codeblock.
This plugin relies on the functionality of the dirtreeist library. Please send feature requests there.
If you write a code block as follows,
```dirtree
- /components -- UI
- -- has buttons and modals
- -- Storybook ready
- App.tsx -- entry point
- App.css -- style
- tsconfig.json -- settings
- README.md -- docs
- /utils
```
It is rendered as follows,
├─/components UI
│ │ ・has buttons and modals
│ │ ・Storybook ready
│ ├─App.tsx entry point
│ └─App.css style
├─tsconfig.json settings
├─README.md docs
└─/utils
- a
- b
- c
- 1
- 2
├─ a
│ ├─ b
├─ c
└─ 1
└─ 2
- a
- b
- c
sometext
- 1
- 2
├─ a
│ ├─ b
└─ c
└─ 1
└─ 2
See dirtreeist library.