New around here, how do I “support” a feature request?
Hi !
I think that native integration would be great.
The best solution for me is actually to use plugins that implement this.
For example, “Linter” does this, along with another set of beautiful, highly customizable features to automate text formatting.
Enjoy your vault
Click the heart button under the main post. Or if you have info to add, leave a comment.
This plugin is really helpful. Thanks a lot. A pity not seen it before.
When an ordered list has an unordered list within it (indented) the ordering of the outer list is updated incorrectly.
Steps to reproduce
Start with an ordered list
1. One
2. Two
3. Three
Indent the second point and change to an unordered list
1. One
- Two
2. Three
Pressing enter after Two, to create another bullet point, incorrectly renumbers the outer list.
1. One
- Two
-
1. Three
Did you follow the troubleshooting guide? Y
Tried in a fresh sandboxed vault.
Expected result
1. One
- Two
-
2. Three
Actual result
1. One
- Two
-
1. Three
Environment
SYSTEM INFO:
Obsidian version: v1.5.0
Installer version: v1.4.13
Operating system: Windows 10 Enterprise 10.0.19045
Login status: logged in
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
It works as expected on my end with the same Windows installation:
Maybe it’s because you’re using v1.5 of Obsidian, which is still in testing phase Seems there are a lot of issues with v1.5 from what I saw on the forum, I better refrain myself from updating just yet…
Hmmm, that’s odd. It did it on my 1.4 install as well (I got around to filing a bug report when I noticed it hadn’t been fixed on 1.5). Just tried it again on a brand new vault with no modifications and it still does it
I’ve just noticed that in reading mode it numbers everything correctly. It’s only in the live preview mode that it doesn’t.
@woofy31 - is yours using live preview mode?
Mine works as expected in all 3 modes
Happens to me as well.
Arch Linux, obsidian-1.4.16.
Hi there,
It seems like the Markdown processor takes the first list item as the first number and increment from there. See the difference below:
original list in edit mode :
preview mode
moved 4th item to the top, out of the list in edit mode
preview mode
We can see that the list is now 4, 5, 6, 7 as the first item starts at 4.
Solution/Suggestion
One suggestion to resolve this issue or at least this sub-issue or feature, could be to add a reset numbered list
action. This action will allow to reset manually to 1 a given list.
Moreover, it could be located in the context menu related to formatting text as shown below
What do you think on this ?
I can create another bug report or feature request if necessary and if you judge that it is out of scope of this bug report.