Go to file
Igor Shymko 2228b6b2e5 rcp deps fix 2014-09-14 18:07:56 +03:00
.gitignore Initial commit 2014-09-13 15:18:59 +03:00
LICENSE Initial commit 2014-09-13 15:18:59 +03:00
README.md sending preview immediately after client websocket connection 2014-09-14 18:06:33 +03:00
markdown-preview-mode.el sending preview immediately after client websocket connection 2014-09-14 18:06:33 +03:00
markdown-preview-mode.rcp rcp deps fix 2014-09-14 18:07:56 +03:00
preview.html deliver markdown to browser over websockets 2014-09-14 15:39:16 +03:00
style.css readme; updated css theme 2014-09-14 17:41:52 +03:00


Markdown preview mode


Opens a preview in a browser, updated upon buffer save. Same preview window is valid accross multiple mardown buffers.


  • markdown-mode.el
  • websocket.el

Makes use of markdown-mode, which already can transform markdown into html and websocket.el to deliver html to browser.

Starting preview

M-x markdown-preview-mode will open preview in a browser and will start markdown-mode if it's not yet running for current buffer. If you'v closed the preview window, you can start it over with M-x markdown-preview-open-browser. All websockets will be cleaned up on emacs termination. If you'd like to perform cleanup manually run M-x markdown-preview-cleanup.


In order to enable multimarkdown support, customize M-x customize-option -> markdown-command variable. Look for Markdown Command which is set to markdown by default, set to multimarkdown and make sure it's in your PATH.


In order to select prefered browser, customize M-x customize-option -> browse-url-browser-function option. Select your browser from Value menu. If it's not there, follow EmacsWiki: Browse Url.



El-get recipe included