Simple tool to convert Markdown files to webpages with Github styling. Includes code highlighting and auto dark/light mode.
npm install -g <path to folder>
Ex: npm install -g C:\Users\vna\Documents\Node\md-to-webpage
In a folder with markdown files run
md-to-webpage
Argument | Explanation |
---|---|
-dark | Only include dark mode styling |
-light | Only include light mode styling |
--headerprefix= | String to append to header id's default is header- you can link to them by appending # to url |
--baseUrl= | Base url to link all css and image links to default is ./ |
--outputDir= | Output directory for webpages default is ./output |
md-to-webpage relies on some other great projects including: