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

Numbered lines #3917

Closed
changemenemo opened this issue Oct 14, 2020 · 3 comments · Fixed by #4116
Closed

Numbered lines #3917

changemenemo opened this issue Oct 14, 2020 · 3 comments · Fixed by #4116

Comments

@changemenemo
Copy link

When using the numbered lines option on a section of a text, it should detect the lines and so have different numbers for each lines.
Right Now it's a succession a 1. In the left section. The good appearance works in the preview part so the right part.

Environment

Joplin version: 1.2.6
Platform: windows 10 pro
OS specifics:

Steps to reproduce

Describe what you expected to happen

Logfile

@xmatic
Copy link

xmatic commented Oct 19, 2020

I agree with OP. This is strange behavior.

If I select the following list with my mouse cursor:

item
item
item

And click on the "Numbered List" icon, it turns into:

1. item
1. item
1. item

This renders correctly in the Markdown output, however, the correct input would be:

1. item
2. item
3. item

@stale
Copy link

stale bot commented Nov 19, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Nov 19, 2020
@ambrt
Copy link
Contributor

ambrt commented Nov 19, 2020

Just let you guys know, this syntax (just "1."s) is how Markdown is designed to work (see https://guides.github.com/features/mastering-markdown/ "Ordered" section, for example).

I agree that it's a bit confusing and Joplin might create incremental numbers in editor pane too.

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 a pull request may close this issue.

3 participants