Small instant Markdown preview server
Pull request Compare This branch is 15 commits behind suan:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
README.md
index.html
instant-markdown-d
package.json

README.md

!nstant-markdown-d

instant-markdown-d is a small Node.js server that enables instant compilation and previewing of Markup files. A plugin can easily be written for any text editor to interface with it. One currently exists for VIm: https://github.com/suan/vim-instant-markdown

Installation

  • [sudo] gem install redcarpet pygments.rb
  • [sudo] npm -g install instant-markdown-d

REST API

Action HTTP Method Request URL Request Body
Refresh Markdown on page PUT http://localhost:<port> <New Markdown file contents>
Close Webpage DELETE http://localhost:<port>

By default, <port> is 8090

Credits

Aaron Lampros's Docter, which is the underlying Markdown converter and styler.