aidenlx / better-fn

Footnote hover preview for Obsidian.md
105 stars 8 forks source link

[Bug] Doesn't work on mobile when footnotes placed in the middle of the document #33

Open ParkerRobb opened 1 year ago

ParkerRobb commented 1 year ago

When the footnotes are interspersed throughout the document, rather than at the end of the document, the hover preview doesn't work on mobile. It still works as expected on desktop, however.

If I place the footnotes at the end of the document, it works as expected on mobile.

This behavior is inconsistent with Markdown specifications. Markdown allows the footnotes to be placed anywhere in the document, not only at the end.

ParkerRobb commented 1 year ago

I found that the plugin was disabled for mobile at some point. I must have been using a version prior to that mobile flag being changed.