this.display.display({
"text/html": "<h1>Hello 🗺️</h1>"
})
this.display.display({
"text/markdown": "# Markdown"
})
this.display.display({
"image/svg+xml":
`<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="20">
<circle cx="10" cy="10" r="5" fill="red" />
</svg>`
})
this.display.display({
"text/latex": `$$ \\liminf _{n\\to \\infty }x_{n} :=
\\lim _{n\\to \\infty }{\\Big (}\\inf _{m\\geq n}x_{m}{\\Big )} $$`,
})
var that = this;
setTimeout(function(){
that.display.display({
"text/html": "<h1>Hello 🗺️</h1>"
})
}, 3000)
"doesn't block, but should print here in 3 seconds..."
1234