Hello,

"Sebastien Vauban" <sva-news-D0wtAvR13HarG/idocf...@public.gmane.org>
writes:

> It was said that "Macro expansion is already recursive: the template can
> be another macro."  Though, my example does not work: the second macro
> call is exported almost "verbatim".
>
> #+MACRO: highlight @@html:<span style="background-color: $1;">$2</span>@@
> #+MACRO: hl {{{highlight(#FFFF00,$1}}}
>
> {{{highlight(yellow,This is important!)}}}
>
> {{{hl(This is important!)}}}
>
> Am I missing something?

Yes, a parenthesis after $1 in hl macro.


Regards,

-- 
Nicolas Goaziou


Reply via email to