0.2.0 • Published 5 months ago
@cobapen/mdhtml v0.2.0
mdhtml
mdhtml is a cli tool to convert markdown to html.
mdhtml input.md --template template.htmlWhen a folder is specified as a source, the tool converts all .md files into .html.
Features
- Frontend of @cobapen/markdown
- Swappable template file
- Simple static site generator
- Watch mode
Install
npm install -g @cobapen/mdhtmlnode.js > 20.11, 21.2 or later required
Usage
mdhtml <input> --template _template.html --output <output>--output <path>: Specify output file/folder (Default: outupt)--template <file>: Specify output folder (Default: _template.html)--clean: Clean output folder before conversion--quiet: Enable quiet mode and suppress conversion messages--watch: Enable watch mode and monitor filesystem changes--math <path>: Generate mathjax css file (Default: math.css)+:fullto disable adaptiveCSS