Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/n6g7/ipynb-loader
ipython/jupyter notebook files loader for webpack
https://github.com/n6g7/ipynb-loader
ipython jupyter loader webpack webpack-loader
Last synced: 25 days ago
JSON representation
ipython/jupyter notebook files loader for webpack
- Host: GitHub
- URL: https://github.com/n6g7/ipynb-loader
- Owner: n6g7
- Created: 2016-11-23T22:54:46.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-15T05:12:42.000Z (3 months ago)
- Last Synced: 2024-09-29T00:01:45.140Z (about 1 month ago)
- Topics: ipython, jupyter, loader, webpack, webpack-loader
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ipynb-loader
IPython/Jupyter notebook loader for [webpack](https://webpack.github.io/).
## Requirements
ipynb-loader requires [jupyter](http://jupyter.org/) to be installed ([jupyter installation page](http://jupyter.org/install.html)).
Make sure that `jupyter` is available in your `$PATH`.
## Usage
Like any other webpack loader:
```js
// webpack.config.js
module.exports = {
module: {
loaders: [
{
test: /\.ipynb$/,
exclude: /node_modules/,
loader: 'ipynb?cellsOnly=true'
}
]
}
}```
## Query options
- `to`: export format
- options: `custom`, `html`, `latex`, `markdown`, `notebook`, `pdf`, `python`, `rst`, `script`, `slides`
- default: `html`
- `cellsOnly`: only return `.cell` elements instead of returning the entire document (``)
- options: `true`, `false`
- default: `false`