-
Hello, |
Beta Was this translation helpful? Give feedback.
Answered by
jourdain
Apr 26, 2023
Replies: 1 comment
-
Not tested but the basic gist could be like server.enable_module({
scripts: ["https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-AMS_HTML"],
})
with layout.content as container:
html.TextArea(v_model=("formula", "$$x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}.$$"), cols=30, rows=10)
container.add_child('<vue-mathjax :formula="formula" />') |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jourdain
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not tested but the basic gist could be like