Markdown-Diagram
How do you build a diagram for the structure in a markdown document? Just read this one.
Command-line interface
In some cases (eg. if your documents are private) you might want to generate this diagrams offline. You can use the CLI to get a static html file like this:
npm i markdown-diagram -g# show all optionsmarkdown-diagram --help# generate full html doccat ./docs/page/services.md | markdown-diagram > services.html# ORmarkdown-diagram ./docs/page/services.md > services.html# only the svg diagrammarkdown-diagram --format svg ./docs/page/services.md > services.svg