• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

rst-preview

Open a rendered version of the ReStructuredText in the current editor with `ctrl-shift-r`.
lsegal
1.3.1 25,303
20
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

ReStructuredText Preview package

Show the rendered HTML rst to the right of the current editor using ctrl-shift-r

It can be activated from the editor using the ctrl-shift-r key-binding and is currently enabled for .rst files.

Installing

This package requires Pandoc to run. You can install Pandoc from:

https://github.com/jgm/pandoc/releases

Workaround on OSX for pandoc could not be spawned error

If launching Atom from the OSX dock rather than from the terminal, you might see a path problem where /usr/local/bin is not loaded into the path causing pandoc not to be found.

'pandoc' could not be spawned. 
Is it installed and on your path? 
If so please open an issue on the package spawning the process.

This is a current bug in Atom.

Until this atom bug is fixed, a workaround is to add the following config to the ~/.atom/init.coffee file the relaunch from the OSX dock:

process.env.PATH = ["/usr/bin",
                    "/usr/local/bin",
                    ].join(":")

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by