please go to https://github.com/ddddddO/gtree
There are three ways to generate tree (CLI, Package(1), Package(2)). They are explained below.
CLI and Package(1).
Given a Markdown file or format, the result of linux tree command is printed.
Hierarchy is represented by hyphen and indentation.
Indentation should be unified by one of the following.
・Tab (default)
・Two spaces (required: -ts
)
・Four spaces (required: -fs
)
Package(1)
You can customize branch format.
Package(2)
You can also generate a tree programmatically.
Markdown is irrelevant.
You can customize branch format.
Top comments (2)
Below is a sample of program.
Below is a sample of cli.