Inline code in the docs - the correct way

Seb seb at wilzba.ch
Sat Feb 3 11:41:27 UTC 2018


On Saturday, 3 February 2018 at 04:37:44 UTC, Adam D. Ruppe wrote:
> On Friday, 2 February 2018 at 20:15:11 UTC, H. S. Teoh wrote:
>> This is the kind of thing you should be promoting to Andrei to 
>> convince him that dpldocs is better. ;-)
>
> I'm updating my fork now and check out this merge conflict:
>
> <<<<<<< HEAD
>      *  source = The [isInputRange|input range] to encode.
> =======
>      *  source = The $(REF_ALTTEXT input range, isInputRange, 
> std,range,primitives)
>      *           to _encode.
>>>>>>>> b905180b1fffa78f922677ee90ed8ae9b803fc4f
>
>
>
> My syntax is so much prettier. (note that the stupid leading _ 
> is something I strip out too. Ddoc's most moronic "feature". 
> Can we PLEASE kill that?!?!?!!)

I think that would only work if we drop the ddoc of phobos 
entirely or add a similar feature to ddoc.
Don't get me wrong, I like adrdox a lot more than ddoc and I 
don't like the REF Ddoc feature either.


More information about the Digitalmars-d mailing list