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
- App.tsx
- App.css
- config.json
- /utils
- converter.ts
- parser.ts
```
It is rendered as follows,
├─ /components
│ ├─ App.tsx
│ └─ App.css
├─ config.json
└─ /utils
├─ converter.ts
└─ parser.ts
- a
- b
- c
- d
- 1
- 2
- 3
- 4
├─ a
│ ├─ b
│ └─ c
├─ d
└─ 1
└─ 2
└─ 3
└─ 4
- a
- b
- c
- d
sometext
- 1
- 2
- 3
- 4
├─ a
│ ├─ b
│ └─ c
└─ d
└─ 1
└─ 2
└─ 3
└─ 4