[kramdown-users] div indentation with kramdown?
matt at tidbits.com
Mon Aug 15 18:40:29 EDT 2011
On Aug 15, 2011, at 2:19 PM, Damien Pollet wrote:
> On 15 August 2011 22:38, Matt Neuburg <matt at tidbits.com> wrote:
>> Yeah, great minds think alike, as that is exactly what I ended up doing. If you look at the ERB examples, the first thing he does is run gsub on the template to remove whitespace from the start of every line.
> But how does that help in your case? He's de-indenting the source code
> to the ERB template before compiling it
I'm making this into an ERB template:
<%= mystuff %>
So, I deindent the template, perform the ERB substitution, and run kramdown. m.
More information about the kramdown-users