I was wondering what type of editor everyone uses for editing Sphinx rst
files.  I've spent a great deal of time perusing the internet finding a ton
of different things including some WYSIWYG editors.

I've just recently come across a plugin for gedit on linux.
http://textmethod.com/wiki/ReStructuredTextToolsForGedit

This comes with a preview window which uses docutils to generate it's
output.  This works great, except that it doesn't like the sphinx
directives.

It looks like the plugin boils down to this single line

from docutils.core import publish_string
html =  publish_string(text, writer_name='html')

Is there similar code for using sphinx?

import sphinx
html = sphin.FUNCTION(text, ...)

Thanks!
Justin

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to