Skip to content

Jupyter Notebooks (.ipynb)

Data scientists and researchers can publish Jupyter Notebooks directly as pages on their HugoBlox site.

  1. Create your Notebook Create a Jupyter Notebook (.ipynb) with your code, charts, and analysis.

  2. Add Front Matter The first cell of your notebook must be a Raw NBConvert cell containing your YAML front matter.

    ---
    title: My Analysis
    date: 2023-10-25
    summary: An analysis of X using Python.
    ---
  3. Convert to Markdown Use the nbconvert tool to convert your notebook to a Markdown file suitable for Hugo.

    Terminal window
    jupyter nbconvert my-notebook.ipynb --to markdown --output-dir content/post/

Last updated: