Feature Request - Raw HTML in ddoc comments

Walter Bright newshound1 at digitalmars.com
Sat Mar 1 20:10:08 PST 2008


Janice Caron wrote:
> On 01/03/2008, Walter Bright <newshound1 at digitalmars.com> wrote:
>> Janice Caron wrote:
>>  > In general, any tool which converts SRC -> DST needs to escape all
>>  > characters which would be considered markup in DST.
>>
>> That is not possible, because ddoc cannot escape every markup in every
>>  possible output format past, present, and future. ddoc is output
>>  agnostic - the output is controlled by the macro expansion text.
> 
> I don't know what "macro expansion text" means.

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.



More information about the Digitalmars-d mailing list