This tool was born from recent work on our housing site where we started documenting some of our code using jupyter notebooks. In summary:
jupyter notebook
and you want include the result on a Lume
site, you need to convert it to a format Lume
knows about.markdown
with jupyter nbconvert
. OI Lume charts
or parts of other pages using {{ includes }}
tags, you need a .vento
(or .njk
) file.markdown
format to vento
, preserving things like front matter, and various HTML
tags. It adds <p>
tags to sentences and formats any code blocks correctly so that they can be styled using the prism
plugin.
First, convert your notebook using the command line: jupyter nbconvert your_notebok.ipynb --to markdown
.
The output will be saved in your current working directory. Then use this tool to convert the markdown to vento.
Drop a markdown file here
or
This programme runs in the browser - nothing ever leaves your computer.