The Nim compiler has the `rst2html` action which transforms a reStructuredText 
file to HTML. It can do everything Markdown can, plus some extras (e.g. Nim 
syntax highlighting). By default, it uses the same HTML template which is being 
used for generating API documentation (with `nim doc` / `nim doc2`), but you 
can customize it with a `nimdoc.cfg`. This is somewhat documented 
[here](http://forum.nim-lang.org///nim-lang.org/docs/docgen.html).

The rST implementation is also usable as package from Nim code, as documented 
[here](http://forum.nim-lang.org///nim-lang.org/docs/rst.html). This forum uses 
rST as input format for posts.

Reply via email to