tefkah / mdh

small mdx to html cli util

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

small mdx to html cli util