1.0.2 • Published 2 years ago

@thomasfkjorna/mdh v1.0.2

Weekly downloads
-
License
GPLv3+
Repository
github
Last release
2 years ago

mdh

npm version badge

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