emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [Feature request] CSS tag classes for headlines
@ 2009-12-04 19:16 Peter Westlake
  2010-01-01 10:07 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Westlake @ 2009-12-04 19:16 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Would it be possible to give exported headlines a class based on their
tag or TODO?

For instance, instead of just labelling the tag, like this:

<h2 id="sec-10">Windows builds fail with "Error 66"<span
class="tag"><span class="CLOSED">CLOSED</span></span></h2>

I would like to change the appearance of the whole headline:

<h2 id="sec-10" class="headline-tag-CLOSED">Windows builds fail with
"Error 66"<span class="tag"><span
class="CLOSED">CLOSED</span></span></h2>

The use case is that I need to put a list of bugs up on the wall, and it
would be nice if closed ones could be greyed out. In fact, the whole div
containing the headline and text could be given a class, and child
elements could be identified using CSS selecters.

<div id="outline-container-10" class="outline-2 outline-2-CLOSED">

Peter.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-04 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-04 19:16 [Feature request] CSS tag classes for headlines Peter Westlake
2010-01-01 10:07 ` Carsten Dominik
2010-01-04 13:51   ` Peter Westlake

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).