forked from rmoorman/react-jupyter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
eoinmurray
committed
Mar 26, 2017
0 parents
commit 86736f3
Showing
20 changed files
with
34,330 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": [ "es2015", "react", "stage-0"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# See https://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# react-jupyter.js | ||
|
||
## Installation | ||
|
||
```bash | ||
npm install react-jupyter | ||
``` | ||
|
||
## Usage | ||
|
||
```jsx | ||
<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. |
Oops, something went wrong.