Brett on 14 Feb, 2012 01:42 AM
RST is a unique problem. Marked can run external processors easily with preference settings, but I have not seen any RST processors which can output the snippet HTML (not full HTML documents) that Marked needs to be able to render a custom preview. The Python Docutils package is a potential renderer, but has no ability to render snippets. You could play with using its rst2html.py function and see what kind of results you get, but it links or embeds its own stylesheet, as far as I can tell. If you know of another processor that can handle snippet output, I'd be happy to post instructions for using it as a custom processor.