From: Tony Day <zygomega@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Adding a class to html export of a list
Date: Sat, 8 Dec 2012 14:16:27 +1100 [thread overview]
Message-ID: <1531E22F-8B1D-4049-BD0B-AC3B0320A2AE@gmail.com> (raw)
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
next reply other threads:[~2012-12-08 3:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-08 3:16 Tony Day [this message]
2012-12-09 6:46 ` Adding a class to html export of a list Christian Moe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1531E22F-8B1D-4049-BD0B-AC3B0320A2AE@gmail.com \
--to=zygomega@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).