mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-23 11:30:23 +10:00
Forcing org to preserve indentation on babel-tangle.
This commit is contained in:
@@ -537,6 +537,8 @@
|
|||||||
|
|
||||||
(require 'org-tempo)
|
(require 'org-tempo)
|
||||||
|
|
||||||
|
(setq org-src-preserve-indentation t)
|
||||||
|
|
||||||
(use-package toc-org
|
(use-package toc-org
|
||||||
:commands toc-org-enable
|
:commands toc-org-enable
|
||||||
:init (add-hook 'org-mode-hook 'toc-org-enable))
|
:init (add-hook 'org-mode-hook 'toc-org-enable))
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
- [[#org-bullets][Org-Bullets]]
|
- [[#org-bullets][Org-Bullets]]
|
||||||
- [[#org-level-headers][Org Level Headers]]
|
- [[#org-level-headers][Org Level Headers]]
|
||||||
- [[#org-tempo][Org-Tempo]]
|
- [[#org-tempo][Org-Tempo]]
|
||||||
|
- [[#preserve-indentation-on-org-babel-tangle][Preserve Indentation On Org-Babel-Tangle]]
|
||||||
- [[#toc-org][Toc-Org]]
|
- [[#toc-org][Toc-Org]]
|
||||||
- [[#pdfs][PDFs]]
|
- [[#pdfs][PDFs]]
|
||||||
- [[#perspective][PERSPECTIVE]]
|
- [[#perspective][PERSPECTIVE]]
|
||||||
@@ -783,6 +784,12 @@ Org-tempo is not a separate package but a module within org that can be enabled.
|
|||||||
(require 'org-tempo)
|
(require 'org-tempo)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Preserve Indentation On Org-Babel-Tangle
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(setq org-src-preserve-indentation t)
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Toc-Org
|
** Toc-Org
|
||||||
Allows us to create a Table of Contents in our Org docs.
|
Allows us to create a Table of Contents in our Org docs.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user