Skip to content
Jupyter notebook integration by preprocessing notebook and rendering to contents.lr
Python Jupyter Notebook HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example-project
tests
.gitignore
README.md
lektor_jupyter_preprocess.py
setup.py
tox.ini

README.md

Lektor Jupyter preprocess

Integrate Jupyter notebooks into Lektor CMS.

Installation

The plugin is not installable via PyPI (yet), so you have to install it as a local plugin in the packages folder of your site.

Get the code

Copy it

Download this folder and copy it into <your lektor site>/package.

... or add as git submodule

$ mkdir <your lektor site>/packages
$ cd <your lektor site>/packages
$ git submodule add https://github.com/obestwalter/lektor-jupyter-preprocess

Get started

Once you have the plugin in packages, run a lektor clean and lektor serve to start integrating notebook powered articles into your site.

Have a look at the example project how to configure and use it.

The plugin is in use on my personal website - read more about how it works in the obligatory meta article about my website.

Warning: minimal implementation

I am mainly using this to render simple notebooks with text output. Anything more involved would need to render directly to HTML, which is likely possible by extending this plugin. The are a few todos in the code already about this.

If this is not what you want

You can’t perform that action at this time.