ohministries / ohc-handbook

0 stars 0 forks source link

Find way to serve markdown as html on production #12

Open narthur opened 8 years ago

narthur commented 8 years ago

Possible tools:

narthur commented 8 years ago

Git hook approach:

On pull in production, run script that converts markdown to html using Pandoc or similar and also attaches a .js file to add a dynamic navigation.

Ideally markdown should be converted into a "minisite" that includes navigation between sections.

This is doable with Pandoc:

pandoc -s -o output.html input1.md input2.md input3.md

pandoc -s -o output.html input*.md