|
From: | Christian Moe |
Subject: | Re: [O] Adding a class to html export of a list |
Date: | Sun, 09 Dec 2012 07:46:48 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |