emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Feature request: HTML export classes for "real" lists


From: Eric Schulte
Subject: Re: [O] Feature request: HTML export classes for "real" lists
Date: Tue, 18 Dec 2012 10:52:28 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Bastien <address@hidden> writes:

> Hi Derek,
>
> <address@hidden> writes:
>
>> But the exporter also uses HTML list elements in other contexts; the
>> tags
>> are overloaded.  This means you can't set up CSS definitions to tweak
>> just "real" lists.  Can someone add class attributes to each of the
>> "dt", "dd" and "li" items in the above code block?  For example
>>
>>     <dt class="org-dt">...</dt>
>>     <dd class="org-dd">...</dd>
>>     <li class="org-li">...</li>
>>
>> or something similar.
>
> I've implemented this in master for both the current exporter
> (famously known as the "old" exporter) and the new exporter.  I think
> we should be extra conservative and take care not to add useless
> classes/ids, but I see the point in this case.
>

Would it perhaps make sense to add classes to the un-normal use of these
tags outside of lists, rather than to their usage within lists?

I could see such an approach having a larger footprint in the code, but
resulting in smaller and arguably more meaningfully classed/tagged HTML
files.

Just a thought,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte



reply via email to

[Prev in Thread] Current Thread [Next in Thread]