Example of using martini to open a websocket connection and show live markdown parsing. Uses highlight.js for code highlighting.

Usage

$ go run server.go

Visit localhost:3000, type in some markdown, and watch it get rendered on the page as you type it.