markdown - Getting colorfull Callouts when converting Jupyter Notebook with nbconvert to pdf - Stack Overflow

I am converting my Jupyter Notebooks to PDF using nbconvert, which generally works well. However, I wou

I am converting my Jupyter Notebooks to PDF using nbconvert, which generally works well. However, I would like to highlight certain content, especially Markdown callouts like:

> Callout Block

Is there a way to define in a custom template that these callouts are formatted with colors, for example using \tcolorbox in the LaTeX export? Or are there alternative approaches to visually distinguish highlighted sections in the exported PDF?

I have already consulted ChatGPT and tried to write a Jinja template, but I find it overwhelming since I have no experience in this area.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744897640a4599790.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信