Here's the setup:
- The markdown is changed with a text editor (it does not matter which one) which saves it,
- The program when-changed notices the change and runs pandoc,
- pandoc generates an HTML file from the markdown,
- Firefox is continually open and is displaying the HTML file from the hard drive, and
- the Firefox 'Auto Reload' plug notices the HTML was changed and redisplays it.
- Centos 6.6
- python 2.6
- when-changed (0.2.1) ($ pip install when-changed)
- Firefox 31.6.0
- Auto Reload 1.2.0
when-changed mymarkdown.md pandoc --from=markdown --to=html --output=mymarkdown.md.html mymarkdown.md