Skip to content

Commit

Permalink
tweak(ein): load org-babel the right way
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Mar 27, 2023
1 parent e7af964 commit 2a68535
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/me-math.el
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
"O" #'ein:process-open-notebook
"r" #'ein:gat-run-remote
"l" #'ein:gat-run-local)

(setq-default ein:markdown-enable-math t)

(with-eval-after-load 'org
(add-to-list 'org-babel-load-languages '(ein . t))
(org-babel-do-load-languages 'org-babel-load-languages (append org-babel-load-languages '((ein . t))))
(setq org-src-lang-modes (append org-src-lang-modes '(("ein-python" . python) ("ein-r" . r) ("ein-julia" . julia))))))

(use-package julia-mode
Expand Down

0 comments on commit 2a68535

Please sign in to comment.