-
Notifications
You must be signed in to change notification settings - Fork 80
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
[BUG] Outline Numbering sequence is off after 4th heading #248
Comments
Can you please give your issue a propper title? |
@pbek : done. My apologies for this oversight. |
Seems like @Jerksen have abandoned their script. |
Do you want to work on it? 😉 |
Nope, not really. Scripting is not my thing, and even though one can always learn, I have plenty of other things that keep me busy. Sorry. |
I “worked” on it in that I used ChatGPT to sort it out, which it did. I shall not get involved in pull requests and all that goes with it, but I can send you the new script if it is of any help to you. |
Good job! 😊 |
Script name
Outline Numbering
Script authors
@Jerksen
Expected behavior
Correct, sequential/decimal numbering
Actual behavior
Another related issue is I had an empty note with these pre-numbered headings:
I then added a new, 3-hash heading:
I subsequently ran the script to update outline numbers. This is what I got:
Steps to reproduce
Output from the debug section in the settings dialog
The output is 561 lines, which includes everything. Here is the log section relating to the script after running it to get the result in the 1st screenshot:
Script
Outline Numbering
id:
4
path:
/home/user1/.var/app/org.qownnotes.QOwnNotes/data/PBE/QOwnNotes/scripts/outline-numbering/outline-numbering.qml
variablesJson:
identifier:
outline-numbering
version:
1.0.0
minAppVersion:
20.5.6
The text was updated successfully, but these errors were encountered: