ddoc: Can I escape a colon?

Nick Sabalausky (Abscissa) via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Feb 23 18:50:27 PST 2017


On 02/23/2017 04:51 PM, Adam D. Ruppe wrote:
> On Thursday, 23 February 2017 at 21:39:11 UTC, H. S. Teoh
>> Apparently COLON is defined to be ':' in the default ddoc macros, so
>> you needn't define it yourself.
>
> Oh yeah.
>
> Still, barf.

Luckily in my case, the "Word:" part is already generated inside a ddoc 
macro, so it'll be just as well hidden.

What I'd kinda like to do is put together a D doc generator that uses, 
uhh, probably markdown. But still with some sort of basic (but 
better-looking than ddoc) macro system, because link URLs can still 
REALLY clutter up even markdown source and make it unreadable (which is 
why I actually ended up converting the changelog for at least one of my 
projects from markdown to ddox.) Not a high enough priority for me now 
though :(



More information about the Digitalmars-d-learn mailing list