Sakura Tree Renderer

approvedunreviewed

by Cole Davis

Renders sakura fenced code blocks as colored directory trees.

↓ 42 downloadsUpdated 17d agoISC

Sakura

Overview

Sakura is a tree visualization tool for simplifying the design of file systems or other tree-like structures. Sakura diagrams are color-coded and great for project documentation or presentations.

It runs as an Obsidian plugin: write an indented list inside a ```sakura code block and Sakura renders it as a colored directory tree.

Simple example of valid input and expected output.

Install

Obsidian Community Plugins

  1. Settings > Community Plugins > Browse
  2. Search "Sakura"
  3. Install and Enable

Manual install

  1. Download main.js, manifest.json, styles.css from the latest release
  2. Put them in <vault>/.obsidian/plugins/sakura
  3. Enable in Settings > Community Plugins

Usage

```sakura
home
    documents
        notes.txt
    scripts
        deploy.py
```

Folders are detected from nesting, indentation widths don't have to be consistent, and you can mix tabs with spaces. You can also paste the output of the tree command, or a Markdown bulleted list, straight into the block and it renders as-is. See the full reference below.

Syntax Reference

SYNTAX.md

LICENSE

LICENSE

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.