generated from mProjectsCode/lemons-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
- The Plugin is up to date
- Obsidian is up to date
To Reproduce
javascript showLineNumbers {hl_lines=[22,23,24]} {26,27,28,32-34} {[35,36,37]}
javascript showLineNumbers {hl_lines=[22,23,24,25]} {26,27,28,32-34} {[35,36,37,38]}
Occurs on
- Windows
- macOS
- Linux
- Android
- iOS
Plugin version
0.44
Additional context
The array formed by '[]' is incorrectly recognized as linenumber, and this problem is found because of the previous Hugo extension of the plug-in form {hl_lines=[22,23,24]}, when I manually corrected it, I found that the middle 23 lines can still be highlighted, after experimentsIn fact, it is found that the whole array is removed from the head and tail, and the line markers in the middle can be used.For example, {[35,36,37,38]} would remove 35 and 38 instead of 36 and 37
Is this a bug with lax validation in array form?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
