Groups
Sign in
Groups
MathJax Users
Conversations
About
Send feedback
Help
MathJax in _Layout.cshtml and asciiMath in index.razor
24 views
Skip to first unread message
Dr. Dayal D. Purohit
unread,
Feb 18, 2024, 4:12:27 PM
Feb 18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MathJax Users
I have thie following in _Layout.cshtml:
<script src="
https://polyfill.io/v3/polyfill.min.js?features=es6
"></script>
<script id="MathJax-script" async src="
https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
"></script>
and the following::
<!-- Inline math -->
<p>This is an example of an inline equation: \( e^{i\pi} + 1 = 0 \).</p>
<!-- Display math -->
<div>
<p>This is an example of a display equation:</p>
\[
\int_{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi}
\]
</div>
in index.razor
The MathJax is not rendering. What am I doing wrong?
Reply all
Reply to author
Forward
0 new messages