The entry point for the Browser version of ipynb2web.
Import: Script Tag
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/ipynb2web@1.0.23/dist/ipynb2web.browser-umd.js"></script>
Import: As Module
import { marked } from "https://cdn.jsdelivr.net/npm/marked/lib/marked.esm.js";
import ipynb2web from 'https://cdn.jsdelivr.net/npm/ipynb2web@1.0.23/dist/ipynb2web.browser.mjs';
Usage:
const prepairedJsonAsset = ipynb2web.nb2json(url)
Returns:
{ meta: { ... }, content: { ... } }
When ipynb2web is used in the browser environment, it assigns the 'ipynb2web' object to the global 'window' object.
It exposes the nb2json function and nothing more.
- Source:
Members
(inner, constant) ipynb2web :Object
ipynb2web
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
nb2json |
function | A function to convert Jupyter Notebook to JSON. |
- Source: