Multi-line footnotes don't have a class after the first line

Steps to reproduce

In the editor, create a footnote like so:


[^1]: First line
    Second line

The above is a “correct” multi-line footnote. As long as the footnote is indented, it is part of the footnote that precedes it, meaning “Second line” is still in the [^1] footnote.

Expected result

The editor view should provide classes such that one can style these multi-line footnotes properly.

Actual result

There doesn’t seem to be any classes someone who is theming the interface can use to style any line that comes after the first line of a footnote. Here’s an image of the footnote as it is generated while in the “Editor” view:

Note the extra footnote classes and such that are applied to the first line, but not the second. When switching to the preview for the page, the footnote gets rendered properly, so I think this is only a problem in the editor view.


  • Operating system: macOS 10.15.7
  • Obsidian version: v0.10.4

This is an upstream issue with hypermd.