typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

Footnote on text in square brackets

Open v01pe opened this issue 8 months ago • 0 comments

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][^footnote] text. [^footnote]: bracketed as in surrounded by square brackets

[!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)

v01pe avatar May 30 '24 12:05 v01pe