使用 emacs-jupyter,含有 python 代码块的 org-mode 文档导出为 pdf 文档没有语法高亮

如果用listings也是可以解决的:

;; mapping jupyter-python to Python
  (add-to-list 'org-latex-listings-langs '(jupyter-python "Python"))

1 个赞