Article cover


Published: Mon, Apr 17, 2023

Updated: Sun, Aug 6, 2023

View Project


TypeScript Svelte NodeJS Git Visual Studio Code

Jupyter2Svelte is a simple CLI tool for converting Jupyter Notebook files into Svelte components written in TypeScript.

The tool was born out of a desire to have a simple way to convert Jupyter Notebooks into Svelte components for use in this website and addresses some of the shortcomings of Jupyter’s built-in nbconvert tool.

The shortcomings of Jupyter’s built-in solution include:

  • Markdown output doesn’t work well with MDsveX
  • Plotly support
  • Custom CSS styling
  • PrismJS syntax highlighting

This tool addresses these concerns.