[kramdown-users] Towards the one-oh-oh

Shawn Van Ittersum svicalifornia at gmail.com
Thu May 6 03:34:21 EDT 2010


Thanks, Thomas. :)

I'm eager to see how you've implement the parsing for 1.0, because what kramdown does is pretty fantastic.

Shawn

On Thu, 6 May 2010 08:36:56 +0200, Thomas Leitner wrote:
>> I wonder if you've had time to consider my request for IAL above a
>> block, so that these two are equivalent:
>> 
>> {: .tasks }
>> * Task 1
>> * Task 2
>> * Task 3
>> 
>> * Task 1
>> * Task 2
>> * Task 3
>> {: .tasks }
>> 
>> As I pointed out in my original request for this, support for the IAL
>> at the top makes for more intuitively placed class and ID attributes,
>> even more so if the modified block contains children or other
>> complicated (lengthy) structure.  Please let me know if this can make
>> it into version 0.8 or 1.0.
> 
> Basically it is no problem. However, it is a rather invasive change
> because it affects all block level parsers: each parser has to check if
> a block IAL has been parsed before and, if it is the case, apply the IAL
> to the created element.
> 
> This naturally incurs a small performance penalty...
> 
> Nonetheless, I have implemented it and it is 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