[kramdown-users] Attributes on li elements
Shawn Van Ittersum
svicalifornia at gmail.com
Wed May 5 03:47:34 EDT 2010
Great! Thank you.
Shawn
On Wed, 5 May 2010 08:16:37 +0200, Thomas Leitner wrote:
> On Tue, 16 Mar 2010 07:28:39 +1000
> Shawn Van Ittersum <svicalifornia at gmail.com> wrote:
>
>> Yep, that's it. :)
>>
>> Shawn
>> [sent from mobile phone]
>>
>> On Mar 16, 2010, at 7:16 AM, Thomas Leitner <t_leitner at gmx.at> wrote:
>>
>>>> The list item is itself a block-level element, and I'm requesting
>>>> that * {attribute} and 1. {attribute} become the syntax for
>>>> applying attributes to list item elements themselves (not some
>>>> other block element inside).
>>>
>>> Ah... okay! I didn't see "outside the box" ;-) This way it makes
>>> much more sense (and should be easier to implement). So the
>>> modified syntax would be:
>>>
>>> A list is started with a list marker (in case of unordered lists
>>> one of
>>> `+`, `-` or `*` -- you can mix them -- and in case of ordered lists
>>> a number followed by a period) followed by one tab or at least one
>>> space,
>>> optionally followed by an IAL that should be applied to the list
>>> item and then the first part of the content of the list item.
>>>
>>> Does this sound right? The only change to your proposed syntax
>>> would be
>>> that a real IAL is used instead of the `{.classname}` syntax.
>
> I have implemented this syntax now and it will be available with the
> next release.
>
> -- Thomas
> _______________________________________________
> kramdown-users mailing list
> kramdown-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/kramdown-users
More information about the kramdown-users
mailing list