jensmtg / influx

An alternative backlinks plugin, which displays relevant and formatted excerpts from notes with linked mentions, based on the position of mentions in the notes' hierarchical structure (bullet level indentation).
MIT License
310 stars 14 forks source link

Inline LaTeX not rendered correctly in snippets. #48

Closed eikopf closed 1 year ago

eikopf commented 1 year ago

Describe the bug In cases where displayed LaTeX (i.e. in double $) is written, it is not rendered correctly — it instead gets written directly on top of existing text and inline LaTeX. It also appears that the snippet attaches a scrollbar to each displayed equation, which moves it a small amount.

To Reproduce Steps to reproduce the behavior:

  1. Place a link to some document A near displayed LaTeX in another document.
  2. Open A and check the backlinks.
  3. The displayed LaTeX will be rendered incorrectly.

Expected Behaviour Obviously, the LaTeX should not be rendered on top of other text; in particular, it probably needs to be spaced correctly.

Screenshots

image

Desktop:

jensmtg commented 1 year ago

Implemented/fixed in latest version.