Adding Markdown to Ddoc

John Gabriele jgabriele at fastmail.fm
Fri Dec 8 16:43:56 UTC 2017


On Friday, 8 December 2017 at 10:13:28 UTC, Walter Bright wrote:
> On 12/8/2017 1:48 AM, Jacob Carlborg wrote:
>
>
> > I think we should try to support standard markdown [2]
>
> Unfortunately, there's really no such thing.

Well, the main standardization effort is 
[CommonMark](http://commonmark.org/). They have a spec, test 
suite, and reference implementations in C and in JS. There's also 
a list of other implementations:
<https://github.com/commonmark/CommonMark/wiki/List-of-CommonMark-Implementations> (though D isn't there yet), as well as a community forum.

Here's [their 10-minute Markdown 
tutorial](http://commonmark.org/help/).

If going forward with a rolling your own limited markdown 
version, go with a subset of CommonMark. That subset could always 
grow into a full implementation of CommonMark if that's desired 
later on.



More information about the Digitalmars-d mailing list