mirror of
https://github.com/unarray/file-tree-generator.git
synced 2026-07-22 08:40:29 +00:00
32 lines
No EOL
1.3 KiB
Markdown
32 lines
No EOL
1.3 KiB
Markdown
# File Tree Generator
|
|
An Obsidian plugin allow you to generate file trees using [Obsidian Callouts](https://help.obsidian.md/Editing+and+formatting/Callouts)!
|
|
|
|

|
|

|
|
|
|
## How to use?
|
|
When editing an Obsidian note, you can use `generate file tree` command or use the generate file tree Ribbon Icon.</br>
|
|
|
|

|
|
|
|
> [!NOTE]
|
|
> if you are on desktop, you can import a folder by pressing the extra button next to your files paths input
|
|
|
|
---
|
|
|
|
As you see, you can ignore patterns of files/folders in the setting tabs.</br>
|
|
This patterns follow the [gitignore spec 2.22.1](https://git-scm.com/docs/gitignore/2.22.1)
|
|
|
|

|
|
|
|
## Note
|
|
This plugin use FS *(desktop only)* to load files from your local directory.
|
|
|
|
## Installation
|
|
In your vault folder, go to `./.obsidian/plugins/file-tree-generator/`
|
|
Then you can:
|
|
|
|
Clone this REPO and run `npm run build` or directly download latest plugin release containing `main.js`, `manifest.json` and `versions.json`.
|
|
|
|
> [!NOTE]
|
|
> If you are a developer, clone this repo -> run `npm i` -> start coding with `npm run dev` *(to hot-reload the plugin in obsidian, install [Hot-Reload plugin](https://github.com/pjeby/hot-reload))* |