mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix gfm-mode load issue
This commit is contained in:
@ -1,8 +1,15 @@
|
|||||||
;;; module-text.el
|
;;; module-text.el
|
||||||
|
|
||||||
(use-package markdown-mode
|
(use-package markdown-mode
|
||||||
:mode ("\\.md$" "/README$")
|
:mode ("\\.m\\(d\\|arkdown\\)$" "/README$"
|
||||||
:init (add-hook 'markdown-mode-hook 'turn-on-auto-fill)
|
("/README\\.md$" . gfm-mode))
|
||||||
|
:init
|
||||||
|
(add-hook 'markdown-mode-hook 'turn-on-auto-fill)
|
||||||
|
(setq markdown-enable-wiki-links t
|
||||||
|
markdown-italic-underscore t
|
||||||
|
markdown-enable-math t
|
||||||
|
markdown-make-gfm-checkboxes-buttons t
|
||||||
|
markdown-gfm-additional-languages '("sh"))
|
||||||
:config
|
:config
|
||||||
(map! :map markdown-mode-map
|
(map! :map markdown-mode-map
|
||||||
"<backspace>" nil
|
"<backspace>" nil
|
||||||
|
Reference in New Issue
Block a user