You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Igor Shymko 8f4b2966c1 doc update 6 years ago
.gitignore Client javascript support: fixes #18 6 years ago
LICENSE Initial commit 8 years ago doc update 6 years ago
favicon.ico favicon.ico 6 years ago
markdown-preview-mode.el var renamed 6 years ago
preview.html Support multiple preview from same http port 6 years ago

Markdown preview mode


Markdown preview in emacs features:

  • on save/idle preview update
  • scroll sync
  • custom/extra css and javascript
  • remote preview
  • multiple simultaneous previews


  • package-install markdown-preview-mode
  • el-get-install markdown-preview-mode


  • markdown-preview-mode - start mode and open preview window.
  • markdown-preview-open-browser - open priview window for current buffer.
  • markdown-preview-cleanup - cleanup running processes (close websocket and http servers).


  • customize-option markdown-command - change markdown processor.
  • customize-option browse-url-browser-function - select different browser.
  • customize-option markdown-preview-host - change http/websocket server address.
  • customize-option markdown-preview-ws-port - change websocket server port.
  • customize-option markdown-preview-http-port - change http server port.

Extra css

Add extra css to default solarized dark theme

(add-to-list 'markdown-preview-stylesheets "")

Override theme completely with

(setq markdown-preview-stylesheets (list ""))

Extra javascript

Add MathJax

(add-to-list 'markdown-preview-javascript "")


(add-to-list 'markdown-preview-javascript '("" . async))