0.1.0 • Published 7 years ago

react-jupyter v0.1.0

Weekly downloads
26
License
-
Repository
-
Last release
7 years ago

react-jupyter.js

Installation

npm install react-jupyter

Demo

https://eoinmurray.github.io/react-jupyter/

Usage

<Jupyter
  notebook={notebookJSON}
  showCode={true} // optional
  defaultStyle={true} // optional
  loadMathjax={true} // optional
/>
  • notebooks - is the json content of an ipynb notebook file. Note: it must be json, not a string.
  • showCode - (optional), defaults to true, whether or not to show the code in the notebook. It can be handy to hide the code to make a nice presentation .
  • defaultStyle - (optional), defaults to true, if true then the library will load a default css file.
  • loadMathjax - (optional), defaults to true, will load an instance of MathJax from the MathJax CDN.