zephraph / nunjucks-markdown

Markdown extension for Nunjucks. Use your own renderer!
MIT License
49 stars 12 forks source link

Only change indentation if it's >= tab depth of tag #14

Closed internalfx closed 8 years ago

internalfx commented 8 years ago

This should at least not chop text if users don't have the correct tab depth. Issue #4

Needs tests, posting this so it can be discussed.

zephraph commented 8 years ago

If you get a chance, could you add a test to verify this behavior?

zephraph commented 8 years ago

I tried to modify one of the existing tests to cover this case but it didn't seem to output the expected results. Will you take a look at it?

Thanks.

internalfx commented 8 years ago

I'll see if I can get to it today.

internalfx commented 8 years ago

Now being tabbed in less than the markdown tag acts like not being tabbed in at all.

Which fixed the test. :smile: