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 ()
|
(defun set-text-modes-font ()
|
||||||
(interactive)
|
(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)
|
line-spacing 0.5)
|
||||||
(buffer-face-mode))
|
(buffer-face-mode))
|
||||||
|
|
||||||
|
@ -291,6 +291,7 @@
|
||||||
(org-mode . set-text-modes-font))
|
(org-mode . set-text-modes-font))
|
||||||
:custom
|
:custom
|
||||||
(org-list-allow-alphabetical t)
|
(org-list-allow-alphabetical t)
|
||||||
|
(org-hide-emphasis-markers t)
|
||||||
:config
|
:config
|
||||||
;; (setq org-format-latex-options (plist-put org-format-latex-options :scale 2.0))
|
;; (setq org-format-latex-options (plist-put org-format-latex-options :scale 2.0))
|
||||||
(defhydra hydra-org-evil-shiftmove (org-mode-map "C-c")
|
(defhydra hydra-org-evil-shiftmove (org-mode-map "C-c")
|
||||||
|
@ -316,6 +317,11 @@
|
||||||
(use-package json-mode
|
(use-package json-mode
|
||||||
:mode "\\.js\\(?:on\\|[hl]int\\(?:rc\\)?\\)\\'")
|
: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
|
(use-package minimap
|
||||||
:commands minimap-mode
|
:commands minimap-mode
|
||||||
:custom-face
|
:custom-face
|
||||||
|
|
Loading…
Reference in a new issue