Footnotes rendering issues

  1. Footnotes dots (…) has inherited indent in different contexts (lists and tasks, admonitions, quotes), though it can be easily fixed with a single CSS declaration text-indent: initial

  2. Same dots inherits font weight being in the context of headers, resulting in visual single dash instead of dots, but its more of font face problem, though also can be fixed with font-weight: initial

  3. But more inconvenient issue when footnote is not resolved and rendered as superscript text in context of tables, HTML, transclusions

For the first two I will create small PR, but as for the third... Before I will dive in, I wonder, could there be any complications?

p.s. Here's markdown for reproduction

Footnotes.md
Reference in paragraph [^1]

* Reference in a list [^1]
  * Reference in a sublist [^1]
* [ ] Reference in task [^1]
  * [ ] Reference in subtask [^1]

> [!warning] Reference in admonition title [^1]
> Reference in admonition description [^1]

> Reference in quote [^1]

# Reference in a header 1 [^1]
## Reference in a header 2 [^1]
### Reference in a header 3 [^1]
#### Reference in a header 4 [^1]
##### Reference in a header 5 [^1]
###### Reference in a header 6 [^1]

|Column|
|-|
|Reference in table cell [^1]|

# Reference in translucent page
Reference [^1]

# Translucent use
![[Footnotes#Reference in translucent page]]

<div>Reference inside HTML [^1]</div>

[^1]: Example

1 Like