An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

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
- d

sometext

- 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).