lang/org: add +jupyter feature, deprecate +ipython
And disable +pandoc by default Relevant to #2198
This commit is contained in:
parent
11acc30400
commit
e782ef1d97
4 changed files with 23 additions and 5 deletions
13
modules/lang/org/contrib/jupyter.el
Normal file
13
modules/lang/org/contrib/jupyter.el
Normal file
|
@ -0,0 +1,13 @@
|
|||
;;; lang/org/contrib/jupyter.el -*- lexical-binding: t; -*-
|
||||
;;;###if (featurep! +jupyter)
|
||||
|
||||
(use-package! ob-jupyter
|
||||
: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))
|
||||
(require 'ob-jupyter nil t)))))
|
Loading…
Add table
Add a link
Reference in a new issue