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