zhaoshenzhai / obsidian-mathlinks

An Obsidian.md plugin to render MathJax in your links.
MIT License
60 stars 4 forks source link

Display Issue with Custom Name in Blocklink Enclosed in Escaped Square Brackets When MathLinks is Enabled #46

Closed sfsdfc closed 1 year ago

sfsdfc commented 1 year ago

I have created a blocklink with a custom display name, and I've enclosed this link in escaped square brackets like this: \[[[#^blocklink|T]]\]. However, when MathLinks is enabled, the display result seems to have a problem.

Without MathLinks enabled, the display result is: [T]

With MathLinks enabled, it appears to add an extra \[ as shown here: [\[T] fig

Please refer to the attached image for reference.

zhaoshenzhai commented 1 year ago

Hi! Thanks for leaving an issue. I will look into it this weekend.

zhaoshenzhai commented 1 year ago

Sorry for the delay. It should be fixed in the next release, 0.4.6. Let me know if it still doesn't work. Thanks!