From: Rick Frankel <rick@rickster.com>
To: Fabrice Popineau <fabrice.popineau@supelec.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: List items, HTML export
Date: Tue, 29 Oct 2013 14:02:06 -0400 [thread overview]
Message-ID: <cbbe1ec308c27d41d7f2685bd967d45f@mail.rickster.com> (raw)
In-Reply-To: <CAFgFV9P7Xsu3Crc4VTMe13+mPDW3rMRes6qtDo6j5C_x1e-HTw@mail.gmail.com>
On 2013-10-27 15:34, Fabrice Popineau wrote:
> Hi,
>
> Is it possible to set class/id on exported UL and LI elements ?
>
> If there is a list with 2 levels, is it possible to set it
> independently ?
Not currently, but in css you can reference the list and sub-list from
the id of it's wrapper div:
#+BEGIN_SRC org
,#+TITLE: Style test
,#+OPTIONS: toc:nil
,#+HTML_HEAD: <style type="text/css">
,#+HTML_HEAD: #text-1 > ul {color: red}
,#+HTML_HEAD: #text-1 > ul ul {color: green}
,#+HTML_HEAD: #text-another-heading > ul {color: blue}
,#+HTML_HEAD: #text-another-heading > ul ul {color: magenta}
,#+HTML_HEAD: </style>
,* Test
- one
- two
- two.one
,* Another
:PROPERTIES:
:CUSTOM_ID: another-heading
:END:
- one
- two
- two.one
#+END_SRC
rick
next prev parent reply other threads:[~2013-10-29 18:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-27 19:34 List items, HTML export Fabrice Popineau
2013-10-29 18:02 ` Rick Frankel [this message]
2013-10-29 20:27 ` Fabrice Popineau
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=cbbe1ec308c27d41d7f2685bd967d45f@mail.rickster.com \
--to=rick@rickster.com \
--cc=emacs-orgmode@gnu.org \
--cc=fabrice.popineau@supelec.fr \
/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).