Skip to content

Quarto not rendering HTML coded math formula--bug, not bug, workaround? #4997

Closed Answered by cderv
IceManTBM3 asked this question in Q&A
Discussion options

You must be logged in to vote

We migrated from Visual Studio and Markdown

Do you know what was used in your previous workflow to render Math in HTML ? This would help to know how to configure Quarto document. Let me explain why below

I can reproduce your issue with this simple document

---
title: "Math"
format: html
---

$$
\mbox{FMV}_{GAP}^{implied}  = 100* (\frac{\mbox{Implied_Interest_Rate}}{\mbox{FMV_Interest_Rate}} - 1)
$$

By default this is rendered using MathJax 3. But if I change the math method to be Mathml for example, then it works

---
title: "Math"
format: html
html-math-method: mathml
---

$$
\mbox{FMV}_{GAP}^{implied}  = 100* (\frac{\mbox{Implied_Interest_Rate}}{\mbox{FMV_Interest_Rate}} - 1)
$$

It se…

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@IceManTBM3
Comment options

@cscheid
Comment options

@IceManTBM3
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@IceManTBM3
Comment options

@cderv
Comment options

@IceManTBM3
Comment options

Answer selected by cderv
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants