Prettify org-mode, add markdown-mode
This commit is contained in:
parent
a8683088f3
commit
cec2ca4bc9
8
init.el
8
init.el
|
@ -279,7 +279,7 @@
|
|||
|
||||
(defun set-text-modes-font ()
|
||||
(interactive)
|
||||
(setq buffer-face-mode-face '(:family "DejaVu Sans Mono" :height 115)
|
||||
(setq buffer-face-mode-face '(:family "DejaVu Sans Mono" :height 105)
|
||||
line-spacing 0.5)
|
||||
(buffer-face-mode))
|
||||
|
||||
|
@ -291,6 +291,7 @@
|
|||
(org-mode . set-text-modes-font))
|
||||
:custom
|
||||
(org-list-allow-alphabetical t)
|
||||
(org-hide-emphasis-markers t)
|
||||
:config
|
||||
;; (setq org-format-latex-options (plist-put org-format-latex-options :scale 2.0))
|
||||
(defhydra hydra-org-evil-shiftmove (org-mode-map "C-c")
|
||||
|
@ -316,6 +317,11 @@
|
|||
(use-package json-mode
|
||||
:mode "\\.js\\(?:on\\|[hl]int\\(?:rc\\)?\\)\\'")
|
||||
|
||||
(use-package markdown-mode
|
||||
:mode ("README\\.md\\'" . gfm-mode)
|
||||
:custom
|
||||
(markdown-command '("pandoc" "--from=markdown" "--to=html5")))
|
||||
|
||||
(use-package minimap
|
||||
:commands minimap-mode
|
||||
:custom-face
|
||||
|
|
Loading…
Reference in a new issue