Improving ddoc
via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jan 1 09:50:30 PST 2015
On Thursday, 1 January 2015 at 14:37:31 UTC, Adam D. Ruppe wrote:
> On Thursday, 1 January 2015 at 14:22:19 UTC, ponce wrote:
>> I actually like DDoc as it is, and finds it readable.
>
> You know, if $(D_CODE) escaped the code properly and `code` was
> a shortcut to it... that'd actually solve my big complaints
> with the ddoc language itself and make it convenient.
For a preview how this might look like:
perl -p -e 's/\$\(D
([^\$()]*+(\((?:[^\$()]*+|(?1))*\))*[^\$()]*)\)/`$1`/g'
std/algorithm.d | less
More information about the Digitalmars-d
mailing list