[darcs-users] Q: Gitit vs pandoc

Trent W. Buck trentbuck at gmail.com
Sat Apr 18 02:49:02 UTC 2009


Jason Dagit <dagit at codersbase.com> writes:

> On Fri, Apr 17, 2009 at 7:20 AM, Daniel Carrera <dcarrera at gmail.com> wrote:
>> Is there anyone where who is familiar with Gitit? Does anyone know if
>> it would be easy to replace Pandoc by a different tool that supports
>> reST better?
>
> Gitit is based around Pandoc which is also made by John.  In my
> opinion, and probably John's too, you want to improve Pandoc to
> support more of reST, not get rid of Pandoc.

Currently Pandoc parses reST directly.  The python-docutils
implementation contains a tool rst2xml, which emits docutils'
intermediary XML representation, *prior* to mangling for an output
format.

Could pandoc leverage, at least as an intermediary measure, to do the
"heavy lifting" of parsing reST?  Then Pandoc would only have to convert
XML to its internal Haskell datatype hierarchy.



More information about the darcs-users mailing list