0.6.5 • Published 4 years ago
@tutorbook/legal v0.6.5
Converting MD to HTML
To convert Notion-generated markdown (we use Notion to edit and host working copies of our legal policies and documentation) to site-ready HTML, run the following commands from this directory:
$ npm i
$ cd assets/
$ node generate.js
Outputs
Running generate.js
should take all of the markdown files in assets/md/*.md
and generate their equivalent in HTML (i.e. assets/html/*.html
).