0.0.9 • Published 4 months ago

@datalayer/jupyter-docusaurus-plugin v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Datalayer

Become a Sponsor

🪐 🦕 Jupyter Plugin for Docusaurus

Docusaurus Plugin to create a Jupyter Cell in a Docusaurus site.

See an example in this repository.

Installation

yarn add @datalayer/jupyter-docusaurus-plugin

Modify your docusaurus.config.js

module.exports = {
  ...
+ plugins: ['@datalayer/jupyter-docusaurus-plugin'],
  ...
}

Usage

Add the following in any Markdown file.

import JupyterCell from '@theme/JupyterCell';

<JupyterCell 
  source={`print('Hello world')
for i in range(10):
  print(i)
`}
  token='60c1661cc408f978c309d04157af55c9588ff9557c9380e4fb50785750703da6'
  serverHttpUrl='http://localhost:8686/api/jupyter'
  serverWsUrl='ws://localhost:8686/api/jupyter'
/>

⚖️ License

Copyright (c) 2022 Datalayer, Inc.

Released under the terms of the MIT license (see LICENSE).

0.0.9

4 months ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago