lang/org: fix ipython unfontified src blocks #1553
This commit is contained in:
parent
9d8dc93515
commit
eee147f6f3
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@
|
||||||
(and (string-prefix-p "jupyter-" (symbol-name lang))
|
(and (string-prefix-p "jupyter-" (symbol-name lang))
|
||||||
(require 'ob-ipython nil t)))
|
(require 'ob-ipython nil t)))
|
||||||
(add-hook '+org-babel-load-functions #'+org|babel-load-ipython)
|
(add-hook '+org-babel-load-functions #'+org|babel-load-ipython)
|
||||||
|
|
||||||
|
(after! org-src
|
||||||
|
(add-to-list 'org-src-lang-modes '("ipython" . python)))
|
||||||
:config
|
:config
|
||||||
(set-popup-rules!
|
(set-popup-rules!
|
||||||
'(("\\*ob-ipython.*"
|
'(("\\*ob-ipython.*"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue