UNPKG

nbtx

Version:

Jupyter Notebook Translators: Transform Jupyter notebook JSON files (*.ipynb) to and from more compact data structures for use in web applications or other contexts where loading component parts (e.g. images, data, etc.) is preferred.

29 lines (28 loc) 1.66 kB
export var KnownCellOutputMimeTypes; (function (KnownCellOutputMimeTypes) { KnownCellOutputMimeTypes["TextPlain"] = "text/plain"; KnownCellOutputMimeTypes["TextHtml"] = "text/html"; KnownCellOutputMimeTypes["TextLatex"] = "text/latex"; KnownCellOutputMimeTypes["ImagePng"] = "image/png"; KnownCellOutputMimeTypes["ImageBmp"] = "image/bmp"; KnownCellOutputMimeTypes["ImageJpeg"] = "image/jpeg"; KnownCellOutputMimeTypes["ImageSvg"] = "image/svg+xml"; KnownCellOutputMimeTypes["ImageGif"] = "image/gif"; KnownCellOutputMimeTypes["AppJson"] = "application/json"; KnownCellOutputMimeTypes["AppGeoJson"] = "application/geo+json"; KnownCellOutputMimeTypes["AppPlotly"] = "application/vnd.plotly.v1+json"; KnownCellOutputMimeTypes["AppVega"] = "application/vnd.vega.v5+json"; KnownCellOutputMimeTypes["AppVegaLite"] = "application/vnd.vegalite.v3+json"; KnownCellOutputMimeTypes["AppVirtualDom"] = "application/vdom.v1+json"; KnownCellOutputMimeTypes["AppJavascript"] = "application/javascript"; KnownCellOutputMimeTypes["AppWidgetView"] = "application/vnd.jupyter.widget-view+json"; KnownCellOutputMimeTypes["AppWidgetState"] = "application/vnd.jupyter.widget-state+json"; KnownCellOutputMimeTypes["AppBokehLoad"] = "application/vnd.bokehjs_load.v0+json"; KnownCellOutputMimeTypes["AppBokehExec"] = "application/vnd.bokehjs_exec.v0+json"; })(KnownCellOutputMimeTypes || (KnownCellOutputMimeTypes = {})); export var CELL_TYPES; (function (CELL_TYPES) { CELL_TYPES["raw"] = "raw"; CELL_TYPES["markdown"] = "markdown"; CELL_TYPES["code"] = "code"; })(CELL_TYPES || (CELL_TYPES = {}));