Skip to content

oyarzun/atom-rst-preview

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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(":")

About

Open a rendered version of the ReStructuredText in the current editor with `ctrl-shift-r`.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 71.9%
  • CSS 28.1%