From: Ben <bip@maleloria.org>
To: emacs-orgmode@gnu.org
Subject: HTML / Site export: syntax to assign a class to a div
Date: Sat, 30 Jan 2010 23:54:58 +0100 [thread overview]
Message-ID: <e81e59f61001301454l3ada7b28n20f809bf020114be@mail.gmail.com> (raw)
Dear orgmode users,
I'm slowly (but firmly) getting my workflows and documents fitting in
orgmode. That's great. The agenda and notes-taking part is done and
I'm now migrating a few websites into org as well.
I've a pretty simple question which puzzles me though pretty
intensely. I've crawled the mailing list archives in vain -- the topic
is sometimes mentioned without an apparent solution.
I would very simply like to assign to an orgmode document section (or
subsection) a parameter which will be translated as a class attribute
in the corresponding div in the HTML output.
Example:
* Important section
** Serious Stuff
blah
** More serious Stuff
* Note
:CLASS: rightbox
a silly comment
* Conclusion
orgmode would then name the div sections as usual, I would like to get
for the 'Note' section another attribute which would be
class="rightbox".
I've tried the #+HTML hacks, the html_attr, the drawers and even the
#+anchor tag. In vain. I'm sure I'm missing something obvious.
Any help would be really really much appreciated!
-- Ben
next reply other threads:[~2010-01-30 22:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-30 22:54 Ben [this message]
2010-02-01 9:42 ` HTML / Site export: syntax to assign a class to a div Carsten Dominik
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e81e59f61001301454l3ada7b28n20f809bf020114be@mail.gmail.com \
--to=bip@maleloria.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).