emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Adding a class to html export of a list
@ 2012-12-08  3:16 Tony Day
  2012-12-09  6:46 ` Christian Moe
  0 siblings, 1 reply; 2+ messages in thread
From: Tony Day @ 2012-12-08  3:16 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Hi,

I would like to add a class to a list on html export.  So, this:

#+BEGIN_EXAMPLE 
- [[#][Home]]
- [[#about][About]]
- [[#contact][Contact]]
#+END_EXAMPLE

becomes this:

#+BEGIN_EXAMPLE 
<ul class="nav">
<li><a href="#">Home</a>
</li>
<li><a href="#about">About</a>
</li>
<li><a href="#contact">Contact</a>
</li>
</ul>
#+END_EXAMPLE

I've been back and forth through the docs and I can't place a way to
do it, other than to drop back to raw html (and I love my plain
lists).

Any help appreciated.

tony

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

end of thread, other threads:[~2012-12-09  6:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-08  3:16 Adding a class to html export of a list Tony Day
2012-12-09  6:46 ` Christian Moe

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