mdtree

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 9 Imported by: 0

README

mdtree

Convert markdown lists into ASCII trees.

For example, if you run:

echo -e "- a\n- b\n - ba" | mdtree

It will output:

.
├── a
└── b
    └── ba

Which you can then use to express a file tree, or anything else, really.

You can also customize the tree style with --style, and change the root element with --root, for example:

$ echo -e "- foo\n- bar\n  - hi" | mdtree --root ⁜ --style rounded

Resulting in:

⁜
├── foo
╰── bar
    ╰── hi

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL