2019-12-16 19:23:08 -05:00
|
|
|
;;; lang/org/contrib/jupyter.el -*- lexical-binding: t; -*-
|
|
|
|
;;;###if (featurep! +jupyter)
|
|
|
|
|
2019-12-17 14:22:06 -05:00
|
|
|
(use-package! jupyter
|
2019-12-16 19:23:08 -05:00
|
|
|
:defer t
|
|
|
|
:init
|
|
|
|
(after! ob-async
|
|
|
|
(pushnew! ob-async-no-async-languages-alist "jupyter-python" "jupyter-julia"))
|
|
|
|
|
|
|
|
(add-hook! '+org-babel-load-functions
|
|
|
|
(defun +org-babel-load-jupyter-h (lang)
|
|
|
|
(and (string-prefix-p "jupyter-" (symbol-name lang))
|
2019-12-17 14:22:06 -05:00
|
|
|
(require lang nil t)))))
|