ipython/jupyter notebook files loader for webpack
npm install ipynb-loaderIPython/Jupyter notebook loader for webpack.
ipynb-loader requires jupyter to be installed (jupyter installation page).
Make sure that jupyter is available in your $PATH.
Like any other webpack loader:
``js
// webpack.config.js
module.exports = {
module: {
loaders: [
{
test: /\.ipynb$/,
exclude: /node_modules/,
loader: 'ipynb?cellsOnly=true'
}
]
}
}
`
- to: export formatcustom
- options: , html, latex, markdown, notebook, pdf, python, rst, script, slideshtml
- default: cellsOnly
- : only return .cell elements instead of returning the entire document ()true
- options: , falsefalse`
- default: