Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
eoinmurray committed Mar 26, 2017
0 parents commit 86736f3
Show file tree
Hide file tree
Showing 20 changed files with 34,330 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": [ "es2015", "react", "stage-0"]
}
18 changes: 18 additions & 0 deletions .gitignore
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*

23 changes: 23 additions & 0 deletions README.md
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.
Loading

0 comments on commit 86736f3

Please sign in to comment.