Skip to content

ipython/jupyter notebook files loader for webpack

Notifications You must be signed in to change notification settings

n6g7/ipynb-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ipynb-loader

IPython/Jupyter notebook loader for webpack.

Requirements

ipynb-loader requires jupyter to be installed (jupyter installation page).

Make sure that jupyter is available in your $PATH.

Usage

Like any other webpack loader:

// 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 (<html></html>)
    • options: true, false
    • default: false

About

ipython/jupyter notebook files loader for webpack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published