Hi,

Here's one: Do

(require 'org-special-blocks)

Then, you can use:

#+BEGIN_nav
- [[#][Home]]
- [[#about][About]]
- [[#contact][Contact]]
#+END_nav

Yours,
Christian

On 12/8/12 4:16 AM, Tony Day wrote:
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





Reply via email to