[Emacs] Markdown-mode when editing text for Github

This commit is contained in:
Lucien Cartier-Tilet 2022-05-15 00:33:15 +02:00
parent d99f605d5b
commit 25a9a14534
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -2940,7 +2940,12 @@ bit unfortunate Chromes name stuck in the packages name though.
(use-package atomic-chrome (use-package atomic-chrome
:straight (:build t) :straight (:build t)
:init :init
(atomic-chrome-start-server)) (atomic-chrome-start-server)
:config
(setq atomic-chrome-default-major-mode 'markdown-mode
atomic-chrome-url-major-mode-alist `(("github\\.com" . gfm-mode)
("gitlab\\.com" . gfm-mode)
("labs\\.phundrak\\.com" . markdown-mode))))
#+end_src #+end_src
*** Editorconfig *** Editorconfig