Skip to content
New issue

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

Maintain <ol> start in case of broken lists #710

Open
boardfish opened this issue Jun 30, 2021 · 0 comments
Open

Maintain <ol> start in case of broken lists #710

boardfish opened this issue Jun 30, 2021 · 0 comments

Comments

@boardfish
Copy link

boardfish commented Jun 30, 2021

1. A list item
2. Something else on the list

Some kind of aside

3. A new list starting from 3
4. Another item

7. A totally arbitrary start point

In the case of the above file, Redcarpet::Render::HTML should pass the ]start](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol#attr-start) attribute to the generated ol so that the second list starts at 3 and the last one starts at 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant