Long Inline Footnote is split in multiple lines if Markdown formatting symbols are present

Since the last update to v. 1.6 (which includes “Revamped footnotes support”) inline footnotes disrupt the text flow.^[I am talking about footnotes in this manner.]

Short footnotes are less of a problem – they get displayed as superscript, which I feel like they should not in Source Mode – but long footnotes look especially weird. The opening and closing brackets are in their own line, and if there is any formatting, like italics or bolding, this introduces another line break.

Please see the screenshot. There are older bug reports/help topics/feature request that point to similar issues but I felt this should be re-addressed since the most recent update.

Follow and include the bug report template when submitting bug reports. Thanks.

if a bug report/fr already exists for this, please comment on that bug report/fr.

Moved to help.

Will do. Would’ve liked to edit my original post but was not able to so. Missing info from the template:

Once you’ve done the above, delete everything above this line.

Steps to reproduce

  • Add an inline footnote (^[…]) that is longer than one whole line of body text
  • Add formatting like italics, and special characters like “@,” brackets, etc.
  • see the text break in odd places.

Did you follow the troubleshooting guide? [Y]

Expected result

Line breaks should not appear in places such as right after the opening brackets, before italicized texts, etc.

Actual result

Line breaks do appear in aforementioned places.

Environment

SYSTEM INFO:
Obsidian version: v1.6.7
Installer version: v1.6.5
Operating system: Darwin Kernel Version 23.5.0: Wed May 1 20:09:52 PDT 2024; root:xnu-10063.121.3~5/RELEASE_X86_64 23.5.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

I went back and checked all bug reports that mention footnotes and there is none for this exact behavior. Just similar ones, as mentioned in my post. Would be great if you could move it back.

Thanks

will be fixed in v1.7. No ETAs.

Just want to follow up on this and note that my footnotes are also completely messed up sine the 1.6 update. Lines are split, formatting/color is off, etc.

Added this code to a CSS snippet and it looks like it made things go back to how they were:

.cm-inline-footnote {
  color: var(--text-accent);
}

.cm-s-obsidian span.cm-footref {
  font-size: unset;
  margin-top: unset;
  vertical-align: unset;
  display: inline;
}

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