orchidhq / Orchid

Build and deploy beautiful documentation sites that grow with you
https://orchid.run
GNU General Public License v3.0
510 stars 53 forks source link

reStructuredText #348

Open ghost opened 4 years ago

ghost commented 4 years ago

I see that Markdown is supported:

https://orchid.run/wiki/user-manual/core-concepts/compilers

Is reStructuredText supported?

https://docutils.sourceforge.io/docs/user/rst/quickref.html

cjbrooks12 commented 4 years ago

RST syntax is not currently supported. There don't seem to be any good JVM-based libraries to process RST content, but it should be possible to use Jython to call the Python libraries directly, similar to how Pygments syntax highlighting is currently implemented. I'll look more into this to see how difficult it would be to add to Orchid.

ghost commented 4 years ago

@cjbrooks12 thanks

not sure if it helps - but PanDoc can be used as well:

https://pandoc.org

altavir commented 4 years ago

Pandoc is a converter, not renderer. I am not sure it will work stably with rst. And it primary format is still markdown.