To create directory trees with a more visually appealing format using the Markdown Tree plugin, follow these steps:
- Start with the root directory.
- Use indentation with spaces or tabs to represent nested directories.
- Place files directly under their respective directories.
Consider the following directory structure:
root
second
third
fourth
file1.jpg
file2.txt
file3.pdf
To transform this structure into a prettier directory tree using the Markdown Tree plugin, use the following input:
```markdown-tree
root
second
third
fourth
file1.jpg
file2.txt
file3.pdf
When rendered the output will be:
.
└── root
└── second
└── third
└── fourth
├── file1.jpg
├── file2.txt
└── file3.pdf
Credits to https://gitlab.com/nfriend for making the most used directory plugin online in https://tree.nathanfriend.io/