emacs/config/writing.org
Evie Litherland-Smith 8150864856 Clean out uses of use-package :ensure and :diminish
Stop using :ensure and manage installed package properly so that extra
packages can be easily tested and removed. Majority use case is on
NixOS anywhere where Emacs is only configuring - not installing - the
packages

Also stop using :diminish because I don't need it with doom-modeline
anyway...
2024-04-16 13:46:07 +01:00

39 lines
1.2 KiB
Org Mode

#+Title: Writing Config
#+author: Evie Litherland-Smith
#+email: evie@xenia.me.uk
#+filetags: :emacs:config:org:
#+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent
* Doc-view
#+begin_src emacs-lisp :tangle yes
(use-package doc-view
:defer t
:bind ( :map doc-view-mode-map
("<mouse-8>" . doc-view-previous-page)
("<mouse-9>" . doc-view-next-page))
:custom
(doc-view-resolution 200)
(doc-view-imenu-enabled t)
(doc-view-scale-internally t)
(doc-view-image-width 850))
#+end_src
* TODO LaTeX
* Markdown
#+begin_src emacs-lisp
(use-package markdown-mode
:custom
(markdown-enable-math t)
(markdown-enable-html t)
:config
(set-face-attribute 'markdown-code-face nil :inherit 'fixed-pitch)
(set-face-attribute 'markdown-inline-code-face nil :inherit 'fixed-pitch)
(set-face-attribute 'markdown-table-face nil :inherit 'fixed-pitch)
(set-face-attribute 'markdown-blockquote-face nil :inherit 'variable-pitch)
(set-face-attribute 'markdown-comment-face nil :inherit 'variable-pitch))
#+end_src
* Pandoc
#+begin_src emacs-lisp
(use-package pandoc-mode
:after (markdown-mode)
:hook (markdown-mode . conditionally-turn-on-pandoc))
#+end_src