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

Fix some issues with the list extension #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gruberro
Copy link

This pull request improves the rendering of subsequent lists. It solves some issues highlighted in #30.

Rendering fixes

  • Unordered and ordered lists are now always separated.
- item1
- item2
- item3

1. item1
2. item2
3. item3
  • An unordered list must retain the same list marker throughout the list, otherwise it will be split
- item1
- item2
- item3

* item1
* item2
* item3

Note: #30 mentions an issue when parsing this code:

- item1
- item2
- item3

test
1. item1
2. item2
3. item3

* item1
* item2
* item3

This PR does not change the rendering of this code, since it is not wrong. To make this example work as expected use the following markdown code:

- item1
- item2
- item3

test

1. item1
2. item2
3. item3

* item1
* item2
* item3

@vkhramtsov vkhramtsov deleted the fix-list-rendering branch February 8, 2018 11:46
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

Successfully merging this pull request may close these issues.

1 participant