@thomasfkjorna/mdh
v1.0.2
Published
![npm version badge](https://img.shields.io/npm/v/@thomasfkjorna/mdh?color=%23cb0000&logo=npm)
Downloads
2
Readme
mdh
small cli utility for converting multiple markdown files to one html document with support for gfm and math (katex).
install
yarn global add @thomasfkjorna/mdh
# or npm i -g @thomasfkjorna/mdh
usage
either specify -o
mdh markdown1.md markdown2.md -o out.html
or have the last argument end in .html
mdh markdown1.md markdown2.md out.html
options
custom css files
use -c
or --css
mdh markdown1.md markdown2.md -o out.html -c 'https://raw.githubusercontent.com/thomasfkjorna/mdh/katex.min.css'
custom styles
use -s
or --style
mdh markdown1.md markdown2.md -o out.html -c