lang/org: add +jupyter feature, deprecate +ipython

And disable +pandoc by default

Relevant to #2198
This commit is contained in:
Henrik Lissner 2019-12-16 19:23:08 -05:00
parent 11acc30400
commit e782ef1d97
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 23 additions and 5 deletions

View 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)))))