From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yujie Wen Subject: How to define the one-line export-block for certain exporter backend? Date: Sat, 25 May 2013 20:30:12 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01538bdeb3dc3a04dd8a13ee Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgDc2-0004Ob-Bt for emacs-orgmode@gnu.org; Sat, 25 May 2013 08:30:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgDby-0003SG-1A for emacs-orgmode@gnu.org; Sat, 25 May 2013 08:30:18 -0400 Received: from mail-ie0-x234.google.com ([2607:f8b0:4001:c03::234]:44937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgDbx-0003SA-Rc for emacs-orgmode@gnu.org; Sat, 25 May 2013 08:30:13 -0400 Received: by mail-ie0-f180.google.com with SMTP id b11so600872iee.25 for ; Sat, 25 May 2013 05:30:13 -0700 (PDT) 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: "emacs-orgmode@gnu.org Mode" --089e01538bdeb3dc3a04dd8a13ee Content-Type: text/plain; charset=ISO-8859-1 Hi, I learned from ox-html.el that the "#+BEGIN_HTML #+END_HTML" block can be associated with a function by the ":export-block" argument in "org-export-define-backend". But it seems doesn't apply to the "#+HTML:" block. Could someone tell me how to define a one-line export-block for specific exporter, like "#+HTML: " does for ox-html.el? Regards, Yujie --089e01538bdeb3dc3a04dd8a13ee Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

=A0 I learned f= rom ox-html.el that the "#+BEGIN_HTML #+END_HTML" block can be as= sociated with a function by the ":export-block" argument in "= ;org-export-define-backend". But it seems doesn't apply to the &qu= ot;#+HTML:" block.

=A0 Could someone tell me how to define a one-line export-block for spe= cific exporter, like "#+HTML: " does for ox-html.el?

Regards,
Yujie
--089e01538bdeb3dc3a04dd8a13ee--