Feature Request - Raw HTML in ddoc comments

Derek Parnell derek at psych.ward
Sat Mar 1 23:24:33 PST 2008


On Sun, 2 Mar 2008 07:02:09 +0000, Janice Caron wrote:

> On 02/03/2008, Walter Bright <newshound1 at digitalmars.com> wrote:
>> Given the macro:
>>         FOO= bar $0 def
>>  the source:
>>         $(FOO abc)
>>  expands to:
>>         bar abc def
>>
>>  It's simple text replacement. Ddoc can use a default set of macro
>>  definitions, or the user can supply one.
> 
> OK, so this brings us back to the question I asked earlier, which I
> shall rephrase and ask again.
> 
> I wish for the generated text to read:
> 
>     this function converts &amp; to &
> 
> What should the ddoc source be?
> 
> I've read the docs over at http://www.digitalmars.com/d/2.0/ddoc.html
> many times, and if there's an answer to that question there, then I
> must have missed it.

I already told you! That's why I have doubts about you actually reading
stuff. So here it is again...

 this function converts $(AMP)amp$(SC) to $(AMP)

AMP=&
SC=;

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell



More information about the Digitalmars-d mailing list