-
-
Notifications
You must be signed in to change notification settings - Fork 255
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
"Unexpected failure to create a list item from line" warning when parsing "1)" style numbered list #3401
Comments
The supported formats for Ordered lists are shown here: Valid:
Not
|
I can reproduce the behaviour. |
This is the relevant code: obsidian-tasks/src/Obsidian/FileParser.ts Lines 160 to 171 in 7f23e6c
|
So the warning is because:
|
I've asked on Discord and learned:
Therefore, the Tasks plugin needs to be adjusted to also support ordered list markers with Many thanks for reporting this, @billga. |
…with-paren fix: Support Check boxes and List Items in "1)"-style numbered lists Fixes #3401
Hi @billga, many thanks for logging this. I learned something about CommonMark today... I've pushed a fix, but won't be able to release it just yet, as we have a work-in-progress performance improvement that I don't feel is yet quite ready for release. I'll add a note here when this is released. |
In working on this, I found that any nested, numbered tasks or list items are ignored by Obsidian's list parsing, unless the first item starts at 0. |
Thanks! I love the tasks plugin and appreciate you looking at this on a weekend |
It's been moved to: |
Steps to reproduce
Obsidian Version 1.8.9 (Installer 1.7.7)
Tasks v7.18.4
other plug-ins that may interact: dataview, card-board
Steps:
Expected Behavior
Probably shouldn't warn, but not sure what this is trying to tell us. Do lists with the "1)" format not get treated the same as "1." lists? Does it matter?
Current behaviour
Throws warning.
Which Operating Systems are you using?
Obsidian Version
1.8.9
Tasks Plugin Version
7.18.4
Checks
Possible solution
No response
The text was updated successfully, but these errors were encountered: