Markdown renderer aiming at providing :
[[toc]]
from pandoc)# This is the title {#custom-id}
).md
to .html
for relative links for static site generation."en"
)npm install -g @mborne/markdown-to-html
# check version
markdown-to-html --version
# show help
markdown-to-html --help
# markdown-to-html [serve|convert|check] --help
markdown-to-html convert samples/01-default-layout /tmp/output
# with the default layout
markdown-to-html serve samples/01-default-layout
# with a custom layout
markdown-to-html serve samples/02-remarkjs --layout remarkjs
To check links between markdown files :
markdown-to-html check samples/01-default-layout
# to include HTTP test for remote URLs
markdown-to-html check samples/01-default-layout --check-external-links
It is inspired from :
See jamstack.org - Site Generators :