[markdown] fontify code blocks natively: on by default

This commit is contained in:
Keith Pinson 2021-01-04 15:12:07 -05:00 committed by Maximilian Wolff
parent c23a190a72
commit 26a4dc9830
2 changed files with 5 additions and 0 deletions

View File

@ -2616,6 +2616,8 @@ files (thanks to Daniel Nicolai)
- Improvements:
- Evilfied =dap= debug windows
**** Markdown
- Fontify code blocks natively by default, for parity with the Org layer (thanks
to Keith Pinson)
- Disable =mmm-mode= in Git commit buffers, in order to allow the use of Markdown
mode when committing (thanks to Keith Pinson)
- New layer variable =markdown-mmm-auto-modes= which is a list of language names

View File

@ -62,6 +62,9 @@
:defer t
:config
(progn
;; Make markdown-mode behave a bit more like org w.r.t. code blocks i.e.
;; use proper syntax highlighting
(setq markdown-fontify-code-blocks-natively t)
;; Declare prefixes and bind keys
(dolist (prefix '(("mc" . "markdown/command")
("mh" . "markdown/header")