Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Markdown Tree

carvahcarvah7k downloads

Create a beautiful and intuitive directory tree using Markdown-oriented code style using tabs, spaces and enters.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

To create directory trees with a more visually appealing format using the Markdown Tree plugin, follow these steps:

  1. Start with the root directory.
  2. Use indentation with spaces or tabs to represent nested directories.
  3. Place files directly under their respective directories.

Example

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/

66%
HealthFair
ReviewSatisfactory
About
Create prettier directory trees from simple indented or space/tab-separated lists in your Markdown files. Render clean, filesystem-style ASCII trees showing nested folders and files for easy visual navigation of your directory structure.
FoldersFilesVisualization
Details
Current version
0.1.0
Last updated
3 years ago
Created
3 years ago
Updates
1 release
Downloads
7k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
carvahcarvah
github.com/carvah
GitHubcarvah
  1. Community
  2. Plugins
  3. Folders
  4. Markdown Tree

Related plugins

Flexplorer

Enhance the file explorer with custom sorting, pinning, and hiding.

Custom File Explorer sorting

Manual or automatic config-driven reordering and sorting of files and folders in File Explorer.

Multi Properties

Add properties to multiple notes at once. Either right-click a folder or select multiple notes and right-click the selection.

File Explorer Note Count

See the number of notes in each folder within the file explorer.

Create Note in Folder

Add commands to create a note in a specific folder.

File Tree Alternative

An alternative file tree view with separate folder and file panes.

Quick Explorer

Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard.

Kanban

Create Markdown-backed Kanban boards.

Trash Explorer

Restore and delete files from the Obsidian .trash folder.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.