Hello Nicolas,

Nicolas Goaziou wrote:
> "Sebastien Vauban" 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.

Blush...

Thanks!
  Seb

-- 
Sebastien Vauban


Reply via email to