[kramdown-users] Attributes on li elements

Thomas Leitner t_leitner at gmx.at
Mon Mar 15 16:27:09 EDT 2010


On Tue, 16 Mar 2010 05:48:03 +1000, Shawn Van Ittersum wrote:
> On Mon, 15 Mar 2010 20:11:12 +0100, Thomas Leitner wrote:
> > When implementing list support in kramdown, I thought about how to
> > add IAL support to list items but found no good way to to do it...
> > so I didn't.
> 
> Why is this not a good way to do it?
> 
> * {li-attributes} List item...

Because the content of a list item are block level elements and this
line would only qualify as paragraph and not as block IAL. To support
this syntax, a new block level element that is only applicable in a
list item, would need to be added.

-- Thomas


More information about the kramdown-users mailing list