[kramdown-users] div indentation with kramdown?
Damien Pollet
damien.pollet at gmail.com
Mon Aug 15 15:27:35 EDT 2011
On 15 August 2011 19:00, Matt Neuburg <matt at tidbits.com> wrote:
> I'm trying to lay out some div tags nicely with indentation and yet still have kramdown work, but I'm having trouble doing so.
[...]
> Those extra </div> insertions are the problem. I can get rid of them by flattening the indentation (everything indented all the way to the left) but I'd rather not have to. :) Is there another option? Thx - m.
I doubt it, since indentations 4 spaces and beyond are meaningful to kramdown.
The best I can think of is to process your file piecewise, maybe by
using erb or some other templating library to separate your html
layout from the kramdown content per se.
--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet
More information about the kramdown-users
mailing list