Published
Edited
Aug 13, 2022
Importers
Insert cell
# MJ
Insert cell
// https://observablehq.com/@andy0130tw/mathjax-v3
MJ={
delete window.MathJax
delete window.ContextMenu
window.MathJax = {
loader: {load: ['output/svg']},
}
const MathJax = await import(URL.createObjectURL(await mathjaxBlob))
.then(() => window.MathJax );
return MathJax;
}
Insert cell
MJ.tex2svg("x^2")
Insert cell
mathjaxBlob = (await fetch('https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-\svg.js')).blob()
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more