Open
Description
Currently, in Pluto, a LaTeXString
is wrapped with \text{}
before being passed to MathJax. This lets LaTeXString
s with mixed text and math like the L"an equation: $1 + \alpha^2$"
from your readme render properly in Pluto, but causes issues for other packages that use this MIME type targeting MathJax. You can see discussion here: fonsp/Pluto.jl#488.
Maybe instead, Base.show(io::IO, ::MIME"text/latex", s::LaTeXString)
could do this, ensuring that LaTeXString
s with mixed text and math get rendered properly in Pluto (and others that use MathJax on the text/latex
MIME type).
Metadata
Assignees
Labels
No labels