RyotaUshio / obsidian-latex-theorem-equation-referencer

A powerful indexing & referencing system for theorems & equations in your Obsidian vault.
https://ryotaushio.github.io/obsidian-latex-theorem-equation-referencer/
MIT License
177 stars 8 forks source link

Theorem callout titles sometimes are incorrectly displayed #244

Open WeariTraveller opened 1 month ago

WeariTraveller commented 1 month ago

Source:

>[!exm] 
>bala...

>[!definition] a
>bala

Theorem callouts without custom titles in edit view sometimes has no titles. With a custom title, the title will not disappear. The trigger condition is unknown, and the most likely and stable possibility is that it is out of render range for a long time. This problem is fairly common.

Effect in edit view

There will always be a title in the reading view, but occasionally it will display incorrectly: in this case, according to the source code, "Example 1" should not be followed by "(1)". (And the last time when I took a screenshot, "Example 1" was rendered as "Definition 2".) The trigger condition is unknown. This problem is very rare and I first encountered it when I submitted the issue.

Effect in reading view

Both the plugin and Obsidian versions are up to date, and the dependencies are installed. All the plugin's built-in theorem callout styles have these problems.

daknili commented 1 month ago

Unfortunately, I have the same problem. Theorem titles disappear regularly regardless of whether a custom title is added or whether reading mode is enabled.