From: Christian Egli <christian.egli@sbszh.ch>
To: emacs-orgmode@gnu.org
Subject: Re: Properties and Property Drawers in HTML export
Date: Thu, 03 Dec 2009 17:06:42 +0100 [thread overview]
Message-ID: <j2aay0kpnx.fsf@saadawi.sbszh.ch> (raw)
In-Reply-To: e85471e30912020421h1c741a7ahb811475bc31b7f5f@mail.gmail.com
Hi
Rick Moynihan <rick.moynihan@gmail.com> writes:
> Would something like the following not be a better format for
> parsing/processing?
>
> <div class="properties">
> <dl>
> <dt class="property_key_foo">FOO</dt><dd
> class="property_value_foo">blah</dd>
> <dt class="property_key_bar">BAR</dt><dd
> class="property_value_bar">blah blah</dd>
> </dl>
> </div>
org-export-format-drawer-function might be what you are looking for:
C-h v org-export-format-drawer-function
Function to be called to format the contents of a drawer.
The function must accept three parameters:
BACKEND one of the symbols html, docbook, latex, ascii, xoxo
NAME the drawer name, like "PROPERTIES"
CONTENT the content of the drawer.
The function should return the text to be inserted into the buffer.
If this is nil, `org-export-format-drawer' is used as a default.
HTH
Christian
next prev parent reply other threads:[~2009-12-03 16:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-02 1:37 Properties and Property Drawers in HTML export Rick Moynihan
2009-12-02 1:58 ` Rick Moynihan
2009-12-02 12:21 ` Rick Moynihan
2009-12-03 16:06 ` Christian Egli [this message]
2009-12-03 17:02 ` Rick Moynihan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=j2aay0kpnx.fsf@saadawi.sbszh.ch \
--to=christian.egli@sbszh.ch \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.