Skip to content
reStructuredText preview in Atom using Pandoc
Branch: rst
Clone or download
Pull request Compare This branch is 31 commits ahead, 5 commits behind lierdakil:master.
Latest commit 848a485 Nov 24, 2015

reStructuredText Preview package

Show the pandoc-rendered HTML markdown to the right of the current editor using ctrl-shift-e.

Live Update scrolls to cursor position when editing. You can also toggle scrolling preview together with editor (like StackEdit for example).

It can be activated from the editor using the ctrl-shift-e key-binding and is currently enabled for .markdown, .md, .mdown, .mkd, .mkdown, .ron, .txt, .tex and .rst files.

For a better way to preview math than default --webtex, you can try a pandoc filter like this one:


This package use pandoc library(not atom package) and language-reStructuredText package. So, install each.


install and set PATH. This is not atom package.


language-reStructuredText is atom package. Please install and update before use this. v0.9.0 or later is required.


Keybind is ctrl-shift-e.

Or, Packages -> reStructuredText Preview Pandoc -> Toggle Preview


Use pandoc library's test files(.rst, .jpg).

rst-reader.rst may be good.

Unreadable characters (For Japanese)

atom のバージョンによっては日本語が文字化けするようです。 その場合はエディタ、Previewのそれぞれで、日本語フォントを設定してください。


Preference -> Settings を開き、Font FamilytakaoGothicなどの日本語のFontを指定してください。


Preference -> Packages -> rst-preview-pandoc から設定画面を開き、 下記の画像のように View Code からソースコードを開いてください。 setting.png

rst-preview-pandoc/styles/markdown-preview.less の3行目に日本語のフォントを追加してください。


You can’t perform that action at this time.