This is a small tool that allows you to instantly see changes you make to a
Markdown document. It is written in Go and uses the
Blackfriday library for parsing the
Markdown. statik is used to embed the
templates into the binary.
$ go get -u github.com/chrboe/livemd
$ cd $GOPATH/src/github.com/chrboe/livemd
$ statik -src=templates/
$ go build
(Sorry, no binaries yet)
Usage
$ ./livemd somefile.md
livemd will start a webserver locally and deploy the rendered Markdown view there.
To view your document, navigate to http://localhost:8081 in your favorite browser.
The site will automatically update whenever you save the Markdown file.