ddoc: Can I escape a colon?
Alexandru Ermicioi via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Feb 26 08:30:00 PST 2017
On Thursday, 23 February 2017 at 21:04:39 UTC, Nick Sabalausky
(Abscissa) wrote:
> Suppose I want ddoc output to include this line:
>
> --------------
> Note: Blah blabbety blah
> --------------
>
> But the colon causes "Note" to be considered a section header.
> Is there a way to escape the ":" so that it's displayed as
> expected, but doesn't trigger a section?
You can put a space before : and ddoc, or ddox won't treat it as
a section.
-----------------
Note : Blah blabbety blah
-----------------
More information about the Digitalmars-d-learn
mailing list