Escaping '<'

John Gruber gruber at fedora.net
Thu Jan 6 00:00:35 EST 2005


Andy Fragen <lists at thefragens.com> wrote on 01/05/05 at 8:34pm:

> Is it possible to escape the '<' character?
> 
> I find that Radio uses '<%' and '%>' as macro delimiters and I need them
> to pass through Markdown intact so that Radio will evaluate the macro.
> Any ideas? TIA

Markdown currently makes an exception for processor instructions, in
the form of:

    <? ... this is escaped ... ?>

So to support this, I think we'd need to treat `<% ... %>` sequences
the same way.

This is probably a good idea, since ASP uses `<% ... %>` the same
way PHP uses `<? ... ?>`.

So I've logged it for future attention.

-J.G.


More information about the Markdown-Discuss mailing list