Hi, it's been a while. I've tried to fix the issues and I believe it's now somehow working.
You may still find strange outputs when you run it in a note whose heading levels are in a descending order (i.e., h3 -> h2 -> h1). I should have checked official TOC plugin's outputs for such a note... when I was still a paid user.
Unfortunately, I've already migrated to another PKM software and I'm no longer using Amplenote anymore. So, this is probably the last update on this plugin. As I wrote in the plugin note, anyone can freely use all or part of this note without any permission.
Thank you for reporting the bug and adding a comment on the description!
I could reproduce the bug with the given example. I'd like to fix it so that the outputs are the same as those of the official one, but unfortunately I'm no longer a paid user. If you are a paid user, could you kindly share the outputs of the official feature with the example you described?
Regarding the description, as a non-native English speaker, I really appreciate your kind comment. I think I'm going to fix it in the way you described.
i actually found this extension while looking for a "navigation bar" feature to quickly jump to headings from anywhere in the note.
eg. ctrl o, list all the headings in MRU order, search for which heading you want, and type enter to jump there immediately.
Now, we have to create a toc if it's not there, ctrl home to jump to top of note, click on the heading link twice (because the link is in a rich footnote)
bonus points, if we can navigate the cursor back to previous positions that we have been in.
"navigation bar", in a popup sidebar, would be another approach, that requires more screen space. Depends on which is supported as an extension developer.
the description of the plugin could be made clearer, it's very clear enough for me, but it took me some time to figure out that "unordered" simply means "bullets".
so if you use the word "bullets" for all references of "unordered", the description would be very clear.
the inline shortcuts could also be changed to,
{btoc} = bullet toc
{ntoc} = numbered toc
we can change everything now in the settings you provided, but the above could be better defaults.
just my 2cents.
thanks again for the awesome plugin!
5 Comments
Hi, it's been a while. I've tried to fix the issues and I believe it's now somehow working.
You may still find strange outputs when you run it in a note whose heading levels are in a descending order (i.e., h3 -> h2 -> h1). I should have checked official TOC plugin's outputs for such a note... when I was still a paid user.
Unfortunately, I've already migrated to another PKM software and I'm no longer using Amplenote anymore. So, this is probably the last update on this plugin. As I wrote in the plugin note, anyone can freely use all or part of this note without any permission.
Hi User #123766,
Thank you for reporting the bug and adding a comment on the description!
I could reproduce the bug with the given example. I'd like to fix it so that the outputs are the same as those of the official one, but unfortunately I'm no longer a paid user. If you are a paid user, could you kindly share the outputs of the official feature with the example you described?
Regarding the description, as a non-native English speaker, I really appreciate your kind comment. I think I'm going to fix it in the way you described.
Thank you very much!
another related extension idea,
i actually found this extension while looking for a "navigation bar" feature to quickly jump to headings from anywhere in the note.
eg. ctrl o, list all the headings in MRU order, search for which heading you want, and type enter to jump there immediately.
Now, we have to create a toc if it's not there, ctrl home to jump to top of note, click on the heading link twice (because the link is in a rich footnote)
bonus points, if we can navigate the cursor back to previous positions that we have been in.
"navigation bar", in a popup sidebar, would be another approach, that requires more screen space. Depends on which is supported as an extension developer.
the description of the plugin could be made clearer, it's very clear enough for me, but it took me some time to figure out that "unordered" simply means "bullets".
so if you use the word "bullets" for all references of "unordered", the description would be very clear.
the inline shortcuts could also be changed to,
{btoc} = bullet toc
{ntoc} = numbered toc
we can change everything now in the settings you provided, but the above could be better defaults.
just my 2cents.
thanks again for the awesome plugin!
this is awsome it works perfectly.
i found a bug, if there are no h1 headers, example,
test note,
h2
test
h2
test
h2
test
it will generate this weird output,
1. [h2](#h2)
1. [h2](#h2)
1. [h2](#h2)
Leave a comment
Login to Amplenote to leave a comment