Strange behavior of markdown links immediately after footnotes

Don’t know if this belongs with one of the links below or is just the state of footnotes at the moment.

Steps to reproduce

  1. Open Sandbox
  2. Paste the following into a note
footnote 1[^1]
footnote 2[^test]
footnote 3[^3]


[^1]: [help](https://help.obsidian.md)
[^test]: [docs](https://github.com/obsidianmd/obsidian-docs)
[^3]: a [main](https://obsidian.md/)

Expected result

Footnotes 1~3 render as links.

Actual result

Footnotes 1 & 2 don’t render as Markdown links. If any character is inserted between the : and the first [, the link becomes valid.

Environment

macOS 13.3.1, Obsidian 1.2.3 (1.1.16)

Debug info

SYSTEM INFO:
Obsidian version: v1.2.3
Installer version: v1.1.16
Operating system: Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 22.4.0
Login status: logged in
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0

RECOMMENDATIONS:
none


Additional information

  • Links work fine in Reading mode

Similar (but couldn’t find an exact match) →

https://forum.obsidian.md/t/first-link-in-footnotes-is-not-properly-recognized/3529

https://forum.obsidian.md/t/formatting-of-external-links-in-footnotes/29273

https://forum.obsidian.md/t/inline-footnotes-and-external-links/45260

https://forum.obsidian.md/t/backlink-in-inline-footnote-not-being-displayed-properly-in-live-preview-mode/41584/3

  • Using the dev tools, it doesn’t look like there’s a link at all after footnote 1 & 2.

1 Like

Presume this is a live-preview issue—I have read posts about live preview not loading footnotes cleanly.

Your sample text creates three links (in my tests using 1.1.6) when viewed in reading mode. See the same with the insider build?

1 Like

Ha! That’s the post I knew had to be there.

Yeah, 1.2.3 is the same here. I know source/Live Preview doesn’t auto-render footnotes, but still odd behavior if someone types them in manually.

1 Like

How did I miss that in your first post? :face_with_spiral_eyes:

Sorry.

For anyone happy with a fudge:

A visual workaround is to use an invisible separator between the colon and the opening square bracket in the footnote.[^Oh]

Don’t know if it will copy in to forum.[^La]

But here goes.[^Ra]


[^Oh]:⁣ [help](https://help.obsidian.md)
[^La]:⁣ [docs](https://github.com/obsidianmd/obsidian-docs)
[^Ra]:⁣ [main](https://obsidian.md/)

invisible space source and reading


invisible space live preview and reading

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.