2024-02-15 08:18:41 +00:00
|
|
|
#+Title: Writing Config
|
|
|
|
#+author: Evie Litherland-Smith
|
|
|
|
#+email: evie@xenia.me.uk
|
|
|
|
#+filetags: :emacs:config:org:
|
2024-02-15 08:45:37 +00:00
|
|
|
#+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent
|
2024-02-15 08:18:41 +00:00
|
|
|
* Doc-view
|
|
|
|
#+begin_src emacs-lisp :tangle yes
|
|
|
|
(use-package doc-view
|
|
|
|
:defer t
|
|
|
|
:ensure 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
|
2024-02-15 13:52:37 +00:00
|
|
|
* TODO LaTeX
|
|
|
|
* Markdown
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
(use-package markdown-mode
|
|
|
|
:ensure t
|
|
|
|
:diminish
|
|
|
|
:custom
|
|
|
|
(markdown-enable-math t)
|
2024-03-03 08:31:24 +00:00
|
|
|
(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))
|
2024-02-15 13:52:37 +00:00
|
|
|
#+end_src
|
|
|
|
* Pandoc
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
(use-package pandoc-mode
|
|
|
|
:ensure t
|
|
|
|
:diminish
|
|
|
|
:after (markdown-mode)
|
|
|
|
:hook (markdown-mode . conditionally-turn-on-pandoc))
|
|
|
|
#+end_src
|