mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
2-spaces creates an indented UL, but OL needs 3-spaces #110
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @russau on GitHub (May 15, 2017).
Hi all,
I've discovered an issue with some markdown I'm converting. The unordered lists considers two-spaces an indent, yet the ordered lists need 3-spaces to indent.
I'll pulled the latest and written a test below. Is this the intended behavior? Playing with stackoverflow's stackedit I see two-spaces on a 1. treated as an indent.
Thanks,
Russ
The output contains:
@xoofx commented on GitHub (May 15, 2017):
This is a normal behavior of CommonMark list
It depends on the number of characters taken by
-or1.AND the number of spaces after that.So the following list should be indented like this (note 3 spaces after the first
-). Check on babelmarkSame for the following list (Check on babelmark3)
@russau commented on GitHub (May 15, 2017):
Thanks for the clarification!