akaalias / obsidian-footnotes

Makes creating footnotes in Obsidian more fun!
138 stars 23 forks source link

Misalignment of footnote number and text in Preview #3

Closed DutchPete closed 3 years ago

DutchPete commented 3 years ago

I tested the plug-in (0.0.6) in a note with pre-existing inline footnotes. The "Alexis" (= normal 😄 ) footnote , number 2 in this case, between 2 pre-existing footnotes has its text on a line below the number - see screenshot below.

image

akaalias commented 3 years ago

Hey Klaas! This is in Preview, right? Can you share the .md and the PDF for me to check out?

akaalias commented 3 years ago

Also:

The "Alexis" (= normal 😄 ) footnote

ðŸĪŠðŸ˜‚

DutchPete commented 3 years ago

Hey Klaas! This is in Preview, right? Can you share the .md and the PDF for me to check out?

Sent to you via a DM on the Obsidian forum.

DutchPete commented 3 years ago

Did you get the file?

akaalias commented 3 years ago

Yup!

DutchPete commented 3 years ago

The misalignment shown with a screenshot in the OP is NOT due to the plug-in. In the Obsidian default theme - no custom theme, no snippets - a footnote does not behave like that. So it is due to the custom theme I am using.

DutchPete commented 3 years ago

I reopen this issue because I made an interesting discovery.

I found that misalignment of the regular footnotes only occurs when there are pre-existing inline footnotes. I just applied regular footnotes to a note that had no inline footnotes, â€Ķâ€Ķ bingo, no misalignment.

So, if somehow existing inline footnotes could be converted in bulk to regular footnotes (something we touched on last Saturday), it is likely the misalignment would not be an issue anymore.

In any case, I don't think the misalignment has anything to do with the plug-in.