HTMLify can do both dynamic (on-the-fly) and static conversion from Markdown to HTML. No server side (PHP/Perl etc.) involved.
HTML file containing the following markup can be opened in a web browser to display this <README.md>.
The same HTML file can be processed, using the following command, to embed the text and produce a static HTML.
node htmlify.js README.html README-static.html
Single script for dynamic conversion and for compilation.
Can be installed via NPM.
Automatic refresh in dynamic mode.
Relative URLs correction.
Customization of generated HTML before embedding.
Document title can be set from Markdown document heading.
Compiled script has no dependencies.
[^3]: Chrome needs
--allow-file-access-from-files flag when HTML file with
dynamic conversion is open locally.