Automatically refresh Pandoc documents in your web browser
JavaScript Haskell Nix
Latest commit ed0de11 Oct 12, 2014 @ocharles Auto-scroll to the bottom of the page
Not what we always want, but it does the job for now
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
Main.hs
README.md
ServerSentEvent.hs
Setup.hs
bundle.js
default.nix
index.html
main.js
pandoc-live.cabal
shell.nix

README.md

Pandoc, LIVE!

This is a little utility can be used to watch a Pandoc document for changes, and display the rendering in real-time in a web browser. Specifically, pandoc-live establishes an inotify-watch on a source file, and uses HTML 5 server-sent events to push these changes to connected web browsers. A little bit of JavaScript pushes this event payload into the DOM. Easy!