Adding Markdown to Ddoc

Chris wendlec at tcd.ie
Tue Dec 12 11:50:52 UTC 2017


On Tuesday, 12 December 2017 at 11:48:24 UTC, Chris wrote:

>
> Try this one (paste it into http://spec.commonmark.org/dingus/):
>
> # CommonMark
>
> ```
>     int* ptr;
> ```
> `int*` is a pointer to an integer.
>
> int* is a pointer to an integer.

The output is

<h1>CommonMark</h1>
<pre><code>    int* ptr;
</code></pre>
<p><code>int*</code> is a pointer to an integer.</p>
<p>int* is a pointer to an integer.</p>

I don't see any problem here.


More information about the Digitalmars-d mailing list