-
-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug report]: MathJax (LaTeX notation) inline value is NOT rendered with Highlighting ON #2084
Comments
I want to mention that And I've finally identified the root cause of this bug! <span class="math math-inline is-loaded"><mjx-container class="MathJax" jax="CHTML"><mjx-math class="MJX-TEX"><mjx-mi class="mjx-i"><mjx-c class="mjx-c1D442 TEX-I"></mjx-c></mjx-mi><mjx-mo class="mjx-n"><mjx-c class="mjx-c28"></mjx-c></mjx-mo><mjx-msup><mjx-mi class="mjx-i"><mjx-c class="mjx-c1D45B TEX-I"></mjx-c></mjx-mi><mjx-script style="vertical-align: 0.363em;"><mjx-mn class="mjx-n" size="s"><mjx-c class="mjx-c32"></mjx-c></mjx-mn></mjx-script></mjx-msup><mjx-mo class="mjx-n"><mjx-c class="mjx-c29"></mjx-c></mjx-mo></mjx-math></mjx-container></span> More details: Let's take an inline field Before Dataview's
As a result,
That is, the Then, the resulting HTML code is passed to RawLit(), and then RawMarkdown(), and finally Obsidian API's
So it removes all the HTML tags defined by MathJax (e.g. On the other hand, in live preview, inline fields are parsed from the original raw text (not HTML!).
whose |
Updated the above comment based on a new observation. |
…ot HTML) (#2098) Co-authored-by: RyotaUshio <[email protected]>
What happened?
Inline field with brackets (curly as well) is NOT rendered with Highlighting ON
Source view:
Reading view:
Table view works properly:
DQL
NA
JS
NA
Dataview Version
0.5.59
Obsidian Version
1.4.14
OS
MacOS
The text was updated successfully, but these errors were encountered: