From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Macro question Date: Fri, 23 Oct 2015 22:37:28 +0200 Message-ID: <87fv11z5h3.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpj3x-0007y9-9z for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 16:35:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zpj3w-0006B2-Fb for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 16:35:45 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:51391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpj3v-0006A4-Ql for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 16:35:44 -0400 In-Reply-To: (Fabrice Popineau's message of "Fri, 23 Oct 2015 22:24:07 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Fabrice Popineau Cc: "emacs-orgmode@gnu.org" Hello, Fabrice Popineau writes: > I was wondering if macros could be used to output raw html code, but that > doesn't seem to be the case. > > Namely: > > #+macro: bfoo @@html:
@@ > #+macro: efoo @@html:
@@ > > The macros {{{bfoo}}} and {{{efoo}}} are expanded surrounded by

... >

. Macros can output raw inline HTML code. If you want to generate any HTML code, you can use some babel block to do that. Regards, -- Nicolas Goaziou