Hello,

Fabrice Popineau <fabrice.popin...@gmail.com> writes:

> I was looking at what text can serve as macro arguments and it seems there
> are a couple of restrictions. Namely, if I export the following to html:
>
> #+MACRO: leftcolumn @@html:<div class="left">$1</div>@@
> #+MACRO: rightcolumn @@html:<div class="right">$1</div>@@
>
> * Title
>
> ** Section
>
> {{{leftcolumn(
> [[http://www.google.com/]]
> )}}}
>
> {{{rightcolumn(
> Line 1
>
> Line 2
> )}}}
>
> Neither one of the macros work.
> Is it expected ? (I assume yes)

AFAICT the first macro is correctly expanded. What makes you think it
doesn't work?

However, macros, being objects, cannot cross paragraphs. The second
example is really 2 paragraphs, not a macro containing two lines.

Regards,

-- 
Nicolas Goaziou

Reply via email to