jxson / haiku

Another static site generator.
MIT License
9 stars 3 forks source link

Allow the markdown processor to be pluggable #79

Open jxson opened 10 years ago

jxson commented 10 years ago

If you have a markdown module that can be resolved via Node's require than it should be possible to pull it via the CLI:

haiku build --markdown my-marked-parser

Or in the JS API with a markdown option. The option should be a module that exports an async function that compiles your markdown to html.

jxson commented 10 years ago

/cc @asadovsky