summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Kaiser2025-08-20 13:40:48 +0200
committerDominik Kaiser2025-08-20 13:40:48 +0200
commit3e39eab55a6f709c1d1e74b88c650f8b0974eb7f (patch)
tree395557cb3781218641de4a5b9ef1100a4eb1ab10
parentb2565b49219e563963c6346eb31d4a99a6a50bda (diff)
downloademacs-3e39eab55a6f709c1d1e74b88c650f8b0974eb7f.tar.gz
emacs-3e39eab55a6f709c1d1e74b88c650f8b0974eb7f.zip
Add org-babel and org-contrib
-rw-r--r--README.org14
-rw-r--r--init.el13
2 files changed, 27 insertions, 0 deletions
diff --git a/README.org b/README.org
index 23e7c53..4823193 100644
--- a/README.org
+++ b/README.org
@@ -123,6 +123,20 @@ These settings ensure that block highlights aren't visible when collapsed.
#+begin_src elisp
(setq org-startup-indented t)
#+end_src
+** Org-babel
+#+begin_src elisp
+ (org-babel-do-load-languages
+ 'org-babel-load-languages
+ '((python . t)))
+#+end_src
+** Org-contrib
+#+begin_src elisp
+ (use-package org-contrib
+ :config
+ (require 'ox-extra)
+ (ox-extras-activate '(ignore-headlines)))
+#+end_src
+
* Project Management
** Projectile
#+begin_src elisp
diff --git a/init.el b/init.el
index 874cb78..8c30f9c 100644
--- a/init.el
+++ b/init.el
@@ -73,11 +73,24 @@
(setq which-key-idle-delay 0.3))
(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
'(org-block-begin-line ((t (:inherit default :background nil))))
'(org-block-end-line ((t (:inherit default :background nil)))))
(setq org-startup-indented t)
+(org-babel-do-load-languages
+ 'org-babel-load-languages
+ '((python . t)))
+
+(use-package org-contrib
+ :config
+ (require 'ox-extra)
+ (ox-extras-activate '(ignore-headlines)))
+
(use-package projectile
:bind-keymap
("C-c p" . projectile-command-map)