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

RST enumlist followup #16382

Merged
merged 2 commits into from
Dec 19, 2020
Merged

RST enumlist followup #16382

merged 2 commits into from
Dec 19, 2020

Conversation

a-mr
Copy link
Contributor

@a-mr a-mr commented Dec 17, 2020

This adds possibility to use 1 as auto-enumerator in enumerated lists (follow-up to #16295)

1. x
1. y

generates 1-2 list.

# and 1 can not be used in one list as auto-numerator simultaneously — it will split the list to two.

However the exception:

1. x
#. y

works fine as a pure RST list, 1 does not go as auto-enumerator.

Also i noticed a bug that special case of auto-enumerator in format #) did not work, fix's in commit 1.

@a-mr
Copy link
Contributor Author

a-mr commented Dec 17, 2020

CC @narimiran

@narimiran narimiran merged commit 9674eb3 into nim-lang:devel Dec 19, 2020
mildred pushed a commit to mildred/Nim that referenced this pull request Jan 11, 2021
* fix matching of enumerator #)

* RST: markdown list with auto-enumerator `1`
ardek66 pushed a commit to ardek66/Nim that referenced this pull request Mar 26, 2021
* fix matching of enumerator #)

* RST: markdown list with auto-enumerator `1`
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.

2 participants