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

Handling of nested ordered list #414

Open
glenndavy opened this issue Apr 5, 2017 · 2 comments
Open

Handling of nested ordered list #414

glenndavy opened this issue Apr 5, 2017 · 2 comments
Labels
enhancement Wants to improvide an existing feature Hacktoberfest

Comments

@glenndavy
Copy link

Hi

First to everyone who's contributed to this code, or pays for/assists with the hosting - thanks! its an awesome tool.

So,

If I'm using the editor and I start a list like so:

1. An Item

then hit return, I get (as expected):

1. An Item
2.

But, if I'm in a nest like so:

1. An Item
2. Another Item
3. 

Then hit tab to indent item, the 3. indents, but doesn't reset to be 1 (effectively 2.1) which would be handy, versus going back to start of line, spacing 4 spaces then replacing the 3 with a 1, from which point the automatic numbering works correctly again within the list.

Similarly, it'd be great if shit tabbing from the last item on a nested list back into its parent list at the correct number.

@SISheogorath SISheogorath added enhancement Wants to improvide an existing feature Hacktoberfest labels Oct 6, 2017
@SISheogorath
Copy link
Contributor

I would say the renumbering is actually an upstream issue. It should fixed done here: https://github.com/codemirror/CodeMirror/blob/c9ea0ee56ea65c17150b92e50539dafc6515aba4/addon/edit/continuelist.js

@SISheogorath
Copy link
Contributor

Related to #361

JJediny pushed a commit to 18F/codimd-cloudgov-template that referenced this issue Dec 16, 2020
Fix docs/configuration formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Wants to improvide an existing feature Hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants