4 ms·
I don't think Kramdown can be a superset of Markdown, because it doesn't handle nested bulleted lists that indicate the level with simple indentation (unlike ev
by lmm 10y ago
I don't think Kramdown can be a superset of Markdown, because it doesn't handle nested bulleted lists that indicate the level with simple indentation (unlike every Markdown implementation I've seen). I was very frustrated when GitHub Pages switched to Kramdown and broke many of my posts.
- tomatsu 10y ago> [Kramdown] doesn't handle nested bulleted lists that indicate the level with simple indentation Works for me. * foo * bar * bat * asdf Results in: <ul> <li>foo <ul> <li>bar</li> <li>bat</li> </ul> </li> <li>asdf</li> </ul>
- busterarm 10y agoDefinition lists are better HTML for this anyway and I switched to those a long time ago. Kramdown implemented this in a similar way to PHP Markdown Extra. https://kramdown.gettalong.org/syntax.html#definition-lists https://kramdown.gettalong.org/syntax.html#definition-lists That said, it's not very clean Markdown.
- geraldbauer 10y ago> it doesn't handle nested bulleted lists that indicate the level with simple indentation (unlike every Markdown implementation I've seen) Again kramdown can - of course - handle nested lists (bulleted or numbered or even with nested code blocks and more). kramdown is just a little bit stricter about the whitespace indentation (your indentation has to line-up - that's all - no big deal really. Try it live here -> http://trykramdown.herokuapp.com http://trykramdown.herokuapp.com