Adding Markdown to Ddoc
Walter Bright
newshound2 at digitalmars.com
Tue Dec 12 02:30:39 UTC 2017
On 12/11/2017 2:30 PM, Jakob Bornecrantz wrote:
> It is not written in D, but the language is close enough in concepts that it can
> be mechanically ported into D, and is licensed under BOOST. Feel free to do what
> ever to it[1].
Thank you for Boost licensing it!
> We first used the markdown parser from vibe.d, when we threw the CommonMark
> testsuit, 10 tests segfaulted and 1 infinite-spun in a loop somewhere in the
> code. We then rewrote from scratch using the recommended practices from the
> CommonMark spec and the XML output from cmark as a guide.
>
> The code is used in our documentation system. Both doc-comments and outside
> documentation files are written in CommonMark. The doc-comments uses Doxygen
> tags which is then run through CommonMark, most of the time it does nothing to
> the comments, but if you want to write long comments it makes it much more
> natural and enjoyable.
>
> [1] https://github.com/VoltLang/Watt/tree/master/markdown/src/watt/markdown
It's apparently written in Volt:
https://github.com/VoltLang/Watt
But the two links there to Volt are dead:
https://github.com/VoltLang/Watt/blob/master/volt-lang.org
More information about the Digitalmars-d
mailing list