Skip to content

Latest commit

 

History

History

README.md

Datalayer

Become a Sponsor

🪐 🦕 Jupyter UI Docusaurus Example

This example is built using Docusaurus, a modern static website generator, and allows you to add a live cell in the Docusaurus site.

npm install &&
  echo open http://localhost:3000/docs/intro && \
  npm start
Jupyter UI Docusaurus
npm run build:docusaurus &&
  echo open http://localhost:3000 && \
  npm serve

Usage

Add the following code in any Markdown file.

import JupyterCell from '@theme/JupyterCell';

<JupyterCell
  source={`print('Hello world')
for i in range(10):
  print(i)
`}
  jupyterServerUrl="http://localhost:8686/api/jupyter-server"
  jupyterServerToken="60c1661cc408f978c309d04157af55c9588ff9557c9380e4fb50785750703da6"
/>;