0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-24 11:19:32 +00:00
org-mode/doc
Carsten Dominik d8780dbbee HTML export: Allow special colors for each TODO keyword
Wanrong Lin writes:

    Right now in the HTML export the TODO keywords have either
    class="todo", or class="done". That loses all the face properties
    in the original TODO keywords. I think the TODO keywords faces are
    important visual aids to differentiate different types of TODO
    items, so I just wonder whether it is possible to keep the faces
    in the HTML.

This makes sense.  This commit adds, to each TODO keyword, an
additional class named after the keyword.  For example:

  <span class="todo WAITING">WAITING</span>

So each todo keyword gets class "todo" or "done" depending on which
general type it is.  And in addition it gets itself as class.

So go to your CSS file and configure like this:

.todo { font-weight:bold; }
.done { font-weight:bold; }
.TODO { color:red; }
.WAITING { color:orange; }
.DONE { color:green; }

Thanks to Sebastian Rose for the multiple-classes trick.
2009-02-12 18:29:06 +01:00
..
.aspell.org.conf Track support files useful in checking Org documentation. 2008-04-01 15:59:35 +02:00
.nosearch Add .nosearch file to the doc/ subdirectory. 2008-12-17 17:25:31 +01:00
ChangeLog Docs: Better documentation of attributes for images 2009-02-11 11:12:13 +01:00
dir Split out a number of files from org.el, and reorganize the 2008-03-28 09:57:14 +01:00
Documentation_Standards.org Add the Standards file, more entries in .gitignore. 2008-04-01 16:42:15 +02:00
org.texi HTML export: Allow special colors for each TODO keyword 2009-02-12 18:29:06 +01:00
orgcard.tex Release 6.22b 2009-02-10 20:21:33 +01:00
orgcard.txt Structure editing: Improved item/headline conversion 2009-01-21 17:45:07 +01:00
texinfo.tex Split out a number of files from org.el, and reorganize the 2008-03-28 09:57:14 +01:00