We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marked version: 0.3.17
Markdown flavor: CommonMark
Ordered lists should start with the number used to begin the list in markdown. e.g. given:
3. One 4. Two
We should see:
<ol start="3"> <li>One</li> <li>Two</li> </ol>
We always start at 1.
<ol> <li>One</li> <li>Two</li> </ol>
Appears to be the root cause of an issue logged for Atom's markdown-preview plugin: atom/markdown-preview#502
CommonMark, Lists:
The start number of an ordered list is determined by the list number of its initial list item. The numbers of subsequent list items are disregarded.
(see also the examples in that section)
The GFM specs carry this requirement over.
The text was updated successfully, but these errors were encountered:
@paulroub: Thank you for submitting this and the related PR solution. See the PR comments.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Marked version: 0.3.17
Markdown flavor: CommonMark
Expectation
Ordered lists should start with the number used to begin the list in markdown. e.g. given:
We should see:
Result
We always start at 1.
What was attempted
Appears to be the root cause of an issue logged for Atom's markdown-preview plugin: atom/markdown-preview#502
References:
CommonMark, Lists:
(see also the examples in that section)
The GFM specs carry this requirement over.
The text was updated successfully, but these errors were encountered: