Feel free to open a issue or PR!
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
<template-name>.typ
in the template
foldertemplate/template.md
template/base.typ
compiled with the new templateread convert_list.md