litpro-commonmark
v0.2.1
Published
markdown rendering to html in litpro using commonmark
Downloads
5
Readme
Commonmark
This is a plugin for literate-programming.
Install npm install litpro-commonmark
and then you can use this by requiring it in the lprc.js file.
Example lprc.js
module.exports = function (Folder) { require("litpro-commonmark")(Folder); }
Example project.md
This is a file you could run to generate some html using this.
# Sample MD
We just want to create a simple document.
<html>
<body>
_"content | md"
</body>
[simple.html](# "save:")
## Content
I **love** markdown. Can't you tell?
There are lots of plugins to use:
* commonmark
* marked
* showdown
* ...
I went with commonmark because it has a spec!