iT邦幫忙

2025 iThome 鐵人賽

DAY 30
0

如果你忍不住想要把 Jupyter notebook 的東西印刷出來,可以考慮使用這個 callistro 套件。

#let (render, Cell, In, Out) = callisto.config(nb: json("example.ipynb"))
#render()

這個真的滿厲害的...

https://ithelp.ithome.com.tw/upload/images/20250913/20112376v2RDbfrzn9.png

還可以直接截取你想要的 Cell Number:

#render(1)   // 在裡面放上 cell number

https://ithelp.ithome.com.tw/upload/images/20250913/20112376LzrPuYyuPt.png


上一篇
Day 29: 執行簡單的程式
系列文
Typst 與 CeTZ:對演算法與程式設計超友好的排版製圖工具30
圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言