You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered a minor issue related to math formula editing while using your plugin, and I'd like to provide some feedback.
Issue Description
When I enabled the Conceal feature in the editor, after entering certain LaTeX commands in a math environment (e.g., $$...$$) followed by an ' character, abnormal replacement/rendering automatically occurs, resulting in strange characters or extra $’.
For instance, if I want to write:
$$\alpha'$$
It gets replaced with:
$$\alpha‘$’
Similarly, the commands \nabla', \sum', \int' encounter the same issue, as long as there is a Greek letter or special symbol followed by an ', this phenomenon appears.
However, if it's an ordinary English letter, like a', it won't be incorrectly replaced.
Steps to Reproduce
Enable the "Conceal" feature.
Create/edit a markdown file, and input math environment:
$$\alpha'$$
Observe the rendering or the actual text in the editor becoming:
$$\alpha‘$’
Expected Behavior
Expect to keep \alpha' as is in the editor without unnecessary replacement of the ' character. Only in the preview rendering should the formulas be beautifully displayed without affecting the formula editing itself.
Temporary Solution
After disabling the Conceal feature, editing formulas works normally without ' being changed to ‘ / $’.
Environment Information
Obsidian Version: 1.7.7
Plugin Version: 1.9.7
Operating System: macOS
Finally
Thank you very much for your work! If you need any further information or testing, I'm willing to assist anytime.
The text was updated successfully, but these errors were encountered:
Hello, through my investigation, I found the source of the problem. The reason is that the spell check in Obsidian was enabled, and simply disabling the spell check will prevent the error from occurring. I also tested it in the sandbox vault, and disabling the spell check solves the issue.
I suspect that there is a conflict between a certain feature of concealment and Obsidian's spell check.
Does it get replaced or is it just visually different. Also what language is your spell check. I don't see this with my current languages (dutch, english (uk)).
Hi, dear Developer!
I've encountered a minor issue related to math formula editing while using your plugin, and I'd like to provide some feedback.
Issue Description
When I enabled the Conceal feature in the editor, after entering certain LaTeX commands in a math environment (e.g.,
$$...$$
) followed by an'
character, abnormal replacement/rendering automatically occurs, resulting in strange characters or extra$’
.For instance, if I want to write:
It gets replaced with:
Similarly, the commands
\nabla'
,\sum'
,\int'
encounter the same issue, as long as there is a Greek letter or special symbol followed by an'
, this phenomenon appears.However, if it's an ordinary English letter, like
a'
, it won't be incorrectly replaced.Steps to Reproduce
Enable the "Conceal" feature.
Create/edit a markdown file, and input math environment:
Expected Behavior
Expect to keep
\alpha'
as is in the editor without unnecessary replacement of the'
character. Only in the preview rendering should the formulas be beautifully displayed without affecting the formula editing itself.Temporary Solution
'
being changed to‘
/$’
.Environment Information
Obsidian Version: 1.7.7
Plugin Version: 1.9.7
Operating System: macOS
Finally
Thank you very much for your work! If you need any further information or testing, I'm willing to assist anytime.
The text was updated successfully, but these errors were encountered: