{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "this.display.display({\n", " \"text/html\": \"

Hello 🗺️

\"\n", "})" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "this.display.display({\n", " \"text/markdown\": \"# Markdown\"\n", "})" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "this.display.display({\n", " \"image/svg+xml\": \n", " `\n", " \n", " \n", " `\n", "})" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "this.display.display({\n", " \"text/latex\": `$$ \\\\liminf _{n\\\\to \\\\infty }x_{n} := \n", " \\\\lim _{n\\\\to \\\\infty }{\\\\Big (}\\\\inf _{m\\\\geq n}x_{m}{\\\\Big )} $$`,\n", "})" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "var that = this;\n", "setTimeout(function(){\n", " that.display.display({\n", " \"text/html\": \"

Hello 🗺️

\"\n", " })\n", "}, 3000)\n", "\"doesn't block, but should print here in 3 seconds...\"" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "1234" ] } ], "metadata": { "kernelspec": { "display_name": "JS (unsafe) — Jyve", "language": "javascript", "name": "jyve-kyrnel-js-unsafe" }, "language_info": { "codemirror_mode": { "name": "javascript" }, "file_extension": ".js", "mimetype": "text/javascript", "name": "javascript", "nbconvert_exporter": "javascript", "pygments_lexer": "javascript", "version": "ES2015" } }, "nbformat": 4, "nbformat_minor": 2 }