Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Footnotes are not handled correctly #20

Closed
mvdkwast opened this issue Feb 3, 2023 · 7 comments
Closed

Footnotes are not handled correctly #20

mvdkwast opened this issue Feb 3, 2023 · 7 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@mvdkwast
Copy link
Owner

mvdkwast commented Feb 3, 2023

          Similiar issue are also on footnotes.

Originally posted by @karlla1220 in #19 (comment)

@mvdkwast mvdkwast added enhancement New feature or request question Further information is requested labels Feb 3, 2023
@mvdkwast
Copy link
Owner Author

mvdkwast commented Feb 3, 2023

What would be the best way to address this ?

  • just remove the link element, but continue to display the [1], and the foot-notes
  • hide the link and foot-notes entirely
  • insert the foot-note in a title element so it can be displayed on hover, depending on the editor, and dropping styling elements along the way.
  • something else

mvdkwast pushed a commit that referenced this issue Feb 3, 2023
- Leave as-is
- Remove links
- Remove everything

See #20
@mvdkwast
Copy link
Owner Author

Fixed in release 0.4.0

@toddmedema
Copy link

Following up here, it seems like this isn't fully resolved, or maybe reverted back to undesirable behavior?

I have this text:

Habitats[^1].

Which renders fine in the Obsidian live view, but when I use this plugin to copy-paste it into Google Docs, it comes out as just

Habitats1.

I was hoping it could at least have the 1 be superscript :) It's causing some confusion with my readers.

@mvdkwast
Copy link
Owner Author

Hi @toddmedema,

I cannot reproduce this with Obsidian 1.4.16 and this plugin version 0.6.0.

How footnotes are displayed is controlled by the footnote setting :

image

This is how it renders in Google Docs :

image

@mvdkwast
Copy link
Owner Author

mvdkwast commented Oct 24, 2023

Just a thought, @toddmedema, maybe you forgot the colon (:) in the foot-note ?

The following document renders as My foot-note reference1 in both reading mode and when copied, because a column is missing after [^1]

My foot-note reference[^1] 

[^1 ] my foot-note

If you can reproduce the problem, please open a new issue for it.

@toddmedema
Copy link

Ah, I found the issue. I needed to add a newline break before the footnotes section, e.g.

As the first snow of the season drifted down, [[Miki]] began. "Alright team, circle up. We have one week to install these five Habitats[^1].

Footnotes:

[^1]: Habitats: Modularly-assembled buildings.

Instead of

As the first snow of the season drifted down, [[Miki]] began. "Alright team, circle up. We have one week to install these five Habitats[^1].

Footnotes:
[^1]: Habitats: Modularly-assembled buildings.

@toddmedema
Copy link

Thanks for taking a look! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants