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

Support "#." for auto-enumerated lists in RST docs #8158

Closed
kaushalmodi opened this issue Jun 29, 2018 · 3 comments

Comments

Projects
None yet
4 participants
@kaushalmodi
Copy link
Contributor

commented Jun 29, 2018

Can this style of auto-enumerated list also be supported in RST docs:

#. Item 1
#. Item 2
#. Item 3

Spec:

In addition, the auto-enumerator, "#", may be used to automatically enumerate a list.


I believe this should be simple to implement because the below in RST docs also enables auto-enumeration:

1. Item 1
1. Item 2
1. Item 3
@Araq

This comment has been minimized.

Copy link
Member

commented Jun 30, 2018

Strange, I remember implementing this...

@kaushalmodi

This comment has been minimized.

Copy link
Contributor Author

commented Jun 30, 2018

I couldn't understand the code completely in rst.nim, but I looks like that you detect the "#" earlier in the code, but then the '#' case-of doesn't exist later.. The alphas and nums are handled, but the '#' case goes to else: discard?

@Araq

This comment has been minimized.

Copy link
Member

commented Jul 2, 2018

Yeah, something like that.

Araq added a commit that referenced this issue Jan 11, 2019

@Araq Araq closed this in 56b804a Jan 11, 2019

kaushalmodi added a commit to kaushalmodi/strfmt that referenced this issue Jan 31, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.