Add jupyter org-mode support
This commit is contained in:
parent
993befd32a
commit
2619f9c807
1 changed files with 10 additions and 0 deletions
10
init.el
10
init.el
|
@ -327,6 +327,13 @@
|
||||||
(use-package pyvenv
|
(use-package pyvenv
|
||||||
:straight t)
|
:straight t)
|
||||||
|
|
||||||
|
(use-package jupyter
|
||||||
|
:straight t
|
||||||
|
:config
|
||||||
|
;; https://github.com/nnicandro/emacs-jupyter/issues/380#issuecomment-1014026589
|
||||||
|
(defun jupyter-ansi-color-apply-on-region (begin end)
|
||||||
|
(ansi-color-apply-on-region begin end t)))
|
||||||
|
|
||||||
(use-package julia-mode
|
(use-package julia-mode
|
||||||
:straight t)
|
:straight t)
|
||||||
|
|
||||||
|
@ -641,6 +648,7 @@
|
||||||
'((R . t)
|
'((R . t)
|
||||||
(emacs-lisp . t)
|
(emacs-lisp . t)
|
||||||
(python . t)
|
(python . t)
|
||||||
|
(jupyter . t)
|
||||||
(awk . t)
|
(awk . t)
|
||||||
(C . t)
|
(C . t)
|
||||||
(ditaa . t)
|
(ditaa . t)
|
||||||
|
@ -651,6 +659,8 @@
|
||||||
(shell . t)))
|
(shell . t)))
|
||||||
|
|
||||||
(setq org-confirm-babel-evaluate nil)
|
(setq org-confirm-babel-evaluate nil)
|
||||||
|
(add-hook 'org-babel-after-execute-hook 'org-redisplay-inline-images)
|
||||||
|
|
||||||
(setq org-src-preserve-indentation nil
|
(setq org-src-preserve-indentation nil
|
||||||
org-edit-src-content-indentation 0)
|
org-edit-src-content-indentation 0)
|
||||||
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)))
|
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue