Skip to content

Markdownのファイルを読み込み、木構造のように表示するスクリプト

License

Notifications You must be signed in to change notification settings

yusu79/markdown-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

markdown-tree

license languges ppa

1.はじめに

markdown-treeは「Markdownのファイルを読み込み、木構造のように表示するシェルスクリプト」です。

markdown-tree foo.mdとターミナルで入力すれば、Markdownファイルの見出し(###など)を読み込み、それぞれの「#」の数に応じて、自動でtreeコマンド形式で出力してくれます。

2.Install

$ sudo add-apt-repository ppa:yusu79/markdown-tree
$ sudo apt update && sudo apt install markdown-tree

3.Usage

$ markdown-tree【オプション】【foo.md】

例として、この「README.md」の構造を出力してみる。

$ markdown-tree README.md
└── markdown-tree
   ├── 1.はじめに
   ├── 2.インストール
   ├── 3.使い方
   ├── 4.ライセンス
   └── 5.作者情報

4.License

The source code is licensed the MIT LICENSE.

5.作者情報

About

Markdownのファイルを読み込み、木構造のように表示するスクリプト

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages