TW-Refnotes icon indicating copy to clipboard operation
TW-Refnotes copied to clipboard

showfnotes not re-ordering counter on transclusion

Open dhjackal opened this issue 2 years ago • 0 comments

Discussed in https://github.com/kookma/TW-Refnotes/discussions/41

Originally posted by dhjackal June 11, 2023 Hi.

There appears to be a bug with re-ordering the fnote counter on tiddler transclusion. I.e. the counter continues for the actual note BUT restarts in the showfnotes call at the bottom of the tiddler. For example

tiddler 1 contains :-

This is a test <<fnote "test">>

showfnotes

tiddler 2 contains -

This is another test <<fnote "another test">>

showfnotes

tiddler 3 transcludes tiddler 1 & 2

{{tiddler 1}} {{tiddler 2}}

results are

This is a test^1

1.test

This is another test^2

1.another test

Should the counter reset after each tiddler?? for consistency?

Thanks for the plugin btw.......excellent stuff. If i can help or contribute in any way please let me know.

dhjackal

dhjackal avatar Jun 11 '23 13:06 dhjackal