[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Multiline #+MACRO:

From: Juan Pechiar
Subject: Re: [O] Multiline #+MACRO:
Date: Mon, 3 Dec 2012 18:28:47 -0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Dec 03, 2012 at 08:28:26PM +0100, Benny Simonsen wrote:
> I would like to make a multiline macro that contains somethiing like this:
> #+ATTR_HTML: class="centerimg"
> file:./gallery/$1
> is it possible, and how?


\n inside a macro definition gets expanded as a new-line.

So you can implement your macro thus:

#+MACRO myimg #+ATTR_HTML: class="centerimg"\nfile:./gallery/$1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]