Added some more changes to how emacs exports org docs
This commit is contained in:
parent
e6e4e9a5d5
commit
a9e34d2278
3
.emacs
3
.emacs
@ -1,3 +1,6 @@
|
||||
; Enable following symlinks
|
||||
(setq vc-follow-symlinks t)
|
||||
|
||||
; Load the main config file for emacs
|
||||
(require 'org)
|
||||
(org-babel-load-file
|
||||
|
@ -513,19 +513,22 @@ Org is a package that allows you to create files like this one that look nice wh
|
||||
This installs the org package and creates a setup function to enable/disable certain functionalities.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
;; Setup org mode
|
||||
(defun jm/org-mode-setup ()
|
||||
(org-indent-mode)
|
||||
(variable-pitch-mode 1)
|
||||
(visual-line-mode 1)
|
||||
(add-to-list 'org-link-frame-setup '(file . find-file)) ; Open link in current window not other window.
|
||||
(setq org-hide-emphasis-markers t))
|
||||
|
||||
(use-package org
|
||||
:hook (org-mode . jm/org-mode-setup)
|
||||
:config
|
||||
(setq org-ellipsis " ▾"))
|
||||
;; Setup org mode
|
||||
(defun jm/org-mode-setup ()
|
||||
(org-indent-mode)
|
||||
(variable-pitch-mode 1)
|
||||
(visual-line-mode 1)
|
||||
(add-to-list 'org-link-frame-setup '(file . find-file))) ; Open link in current window not other window.
|
||||
|
||||
(use-package org
|
||||
:hook (org-mode . jm/org-mode-setup)
|
||||
:config
|
||||
(setq org-ellipsis " ▾")
|
||||
(setq org-hide-emphasis-markers t)
|
||||
(setq org-src-preserve-indentation t)
|
||||
(setq org-export-with-toc nil)
|
||||
(setq org-export-with-section-numbers nil)
|
||||
(setq org-export-with-sub-superscripts nil))
|
||||
#+end_src
|
||||
|
||||
** Cosmetics
|
||||
|
Loading…
x
Reference in New Issue
Block a user