Skip to content
Snippets Groups Projects
Commit 3fbb0731 authored by Michael Hauspie's avatar Michael Hauspie
Browse files

Add org-tidy-mode to hide properties drawers while in org-present mode

parent 0ca21011
No related branches found
No related tags found
No related merge requests found
...@@ -592,6 +592,13 @@ it with =visual-fill-column= to enhance the visual look of the presentation. ...@@ -592,6 +592,13 @@ it with =visual-fill-column= to enhance the visual look of the presentation.
#+begin_src emacs-lisp #+begin_src emacs-lisp
;; org-tidy allows hidding the :PROPERTIES: drawer
(use-package org-tidy
:ensure t
:custom
(org-tidy-properties-style 'invisible)
)
;; so that org-* face attributes are available ;; so that org-* face attributes are available
(require 'org-faces) (require 'org-faces)
...@@ -613,6 +620,7 @@ it with =visual-fill-column= to enhance the visual look of the presentation. ...@@ -613,6 +620,7 @@ it with =visual-fill-column= to enhance the visual look of the presentation.
(visual-fill-column-mode 1) (visual-fill-column-mode 1)
(visual-line-mode 1) (visual-line-mode 1)
(display-line-numbers-mode 0) (display-line-numbers-mode 0)
(org-tidy-mode 1)
(menu-bar-mode 0) (menu-bar-mode 0)
(scroll-bar-mode 0) (scroll-bar-mode 0)
(org-display-inline-images) (org-display-inline-images)
...@@ -662,6 +670,7 @@ it with =visual-fill-column= to enhance the visual look of the presentation. ...@@ -662,6 +670,7 @@ it with =visual-fill-column= to enhance the visual look of the presentation.
(visual-fill-column-mode 0) (visual-fill-column-mode 0)
; (visual-line-mode 0) ; (visual-line-mode 0)
(display-line-numbers-mode 1) (display-line-numbers-mode 1)
(org-tidy-mode 0)
(menu-bar-mode 1) (menu-bar-mode 1)
(scroll-bar-mode 1) (scroll-bar-mode 1)
(org-remove-inline-images) (org-remove-inline-images)
...@@ -707,7 +716,7 @@ it with =visual-fill-column= to enhance the visual look of the presentation. ...@@ -707,7 +716,7 @@ it with =visual-fill-column= to enhance the visual look of the presentation.
) )
(use-package visual-fill-column (use-package visual-fill-column
:custom :custom
(visual-fill-column-width 110) (visual-fill-column-width 80)
(visual-fill-column-center-text t) (visual-fill-column-center-text t)
) )
#+end_src #+end_src
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment