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

Footnote on text in square brackets #6062

Open
v01pe opened this issue May 30, 2024 · 0 comments
Open

Footnote on text in square brackets #6062

v01pe opened this issue May 30, 2024 · 0 comments

Comments

@v01pe
Copy link

v01pe commented May 30, 2024

When I place a footnote on a bracketed block (e.g. [Textblock][^Footnote]), then in the editor it will be displayed like linked text. I use this e.g. in conjunction with citations (e.g. [@ExtRef][^Footnote]), which looks like a link and doesn't reference the footnote in the editor, but exports fine when I pass the file to pandoc.

Example Markdown Source

This is an example with [bracketed][^footnote] text.
[^footnote]: *bracketed* as in surrounded by square brackets

Expected Result

This is an example with [bracketed]1 text.

Note

Same markdown source, just interpreted by github

Displayed in Editor

FootnoteOnBrackets

Expected Display in Editor

FootnoteOnBracketsEscaped

Note

Result achieved via \[bracketed\][^footnote], but this would break e.g. citations.

Example Markdown File

Here's the example .md file, I used to generate the screenshots.

Setup

macOS 14.4.1 (23E224)
Typora 1.8.10 (7132)

Footnotes

  1. bracketed as in surrounded by square brackets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant