https://github.com/k4a-l/obsidian-dirtreeist
Render a directory Structure Diagram from a markdown lists in codeblock.
https://github.com/k4a-l/obsidian-dirtreeist
Last synced: 5 months ago
JSON representation
Render a directory Structure Diagram from a markdown lists in codeblock.
- Host: GitHub
- URL: https://github.com/k4a-l/obsidian-dirtreeist
- Owner: k4a-l
- License: mit
- Created: 2022-10-30T15:46:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-01T12:30:28.000Z (over 2 years ago)
- Last Synced: 2024-08-13T07:17:51.409Z (9 months ago)
- Language: TypeScript
- Homepage:
- Size: 59.6 KB
- Stars: 26
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - k4a-l/obsidian-dirtreeist - Render a directory Structure Diagram from a markdown lists in codeblock. (TypeScript)
README
# Obsidian Dirtreeist
Render a directory Structure Diagram from a markdown lists in codeblock.
## Caution
This plugin relies on the functionality of the [dirtreeist](https://github.com/k4a-l/dirtreeist) library. Please send feature requests there.## Features
### Basic
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
```### Other
#### Sequential listings```
- a
- b
- c
- d- 1
- 2
- 3
- 4
``````
├─ a
│ ├─ b
│ └─ c
├─ d
└─ 1
└─ 2
└─ 3
└─ 4
```#### Another element comes in between
```
- a
- b
- c
- dsometext
- 1
- 2
- 3
- 4
``````
├─ a
│ ├─ b
│ └─ c
└─ d└─ 1
└─ 2
└─ 3
└─ 4
```## Settings
See [Description of options](https://github.com/k4a-l/dirtreeist#description-of-options).