Feel free to open a issue or PR!
- automatic image download/extract
- nice template
- support for KaTeX in markdown math (mostly complete)
Look for demos in test folder.
Download binary from release page
Or
Install with cargo:
cargo install --git 'https://github.com/8LWXpg/jupyter2typst.git'
After that, you can use jupyter2typst
in your terminal.
The output .typ
file imports a template file. It is required to have a template.typ
file in the same directory as the output .typ
file.
Check the template list for templates others have made.
Download the template file:
curl 'https://raw.githubusercontent.com/8LWXpg/jupyter2typst/master/template/template.typ' > template.typ
modify the template.typ
to fit your needs.
jupyter2typst <input> [-o <output>] [-i <img-path>]
input
: the path of the input.ipynb
fileoutput
: the path of the output.typ
fileimg-path
: the path of the image folder, default is./img
- Create a new template file
<template-name>.typ
in thetemplate
folder - Add simple description in
template/template.md
- submit a PR with a preview image of
template/base.typ
compiled with the new template
read convert_list.md