obsidian-tidy-footnotes icon indicating copy to clipboard operation
obsidian-tidy-footnotes copied to clipboard

This plugin doesn't work well in a compiled note with the Longform plugin

Open Liong1976 opened this issue 3 years ago • 3 comments

I was trying to compile three notes with the Longform plugin and the footnote numbers were expected to be put in an order with this plugin but it didn't work.

Here is the snapshot before I used this plugin: image

Here is after using the plugin: image

FYI, I am using Windows and Minimal Theme, Obsidian v.0.12.15

Thanks

Liong1976 avatar Sep 12 '21 03:09 Liong1976

Unfortunately, this plugin doesn't re-index the markers in place. Rather, it attempts to match markers ([^1]) to their corresponding definitions ([1]: …) and then re-indexes them, which is useful when you're adding a new marker in between other ones (similar to how footnotes are organized in wiki pages).

charliecm avatar Sep 12 '21 04:09 charliecm

Unfortunately, this plugin doesn't re-index the markers in place. Rather, it attempts to match markers ([^1]) to their corresponding definitions ([1]: …) and then re-indexes them, which is useful when you're adding a new marker in between other ones (similar to how footnotes are organized in wiki pages).

Ah, that makes sense! Nevertheless, I also agree with @Liong1976, that the ability to properly re-index footnotes would be very useful. Especially considering that the problem will become quite common once all the people using the longform plugin finish their projects.

chrisgrieser avatar Sep 12 '21 04:09 chrisgrieser

Unfortunately, this plugin doesn't re-index the markers in place. Rather, it attempts to match markers ([^1]) to their corresponding definitions ([1]: …) and then re-indexes them, which is useful when you're adding a new marker in between other ones (similar to how footnotes are organized in wiki pages).

Thanks, @charliecm, for your explanation. I hope there's a solution for this issue as @chrisgrieser said.

Liong1976 avatar Sep 12 '21 09:09 Liong1976