feat(wpcarro/emacs): Enhance markdown editing experience

See comments in the code for context.

Change-Id: I0791222881788b89612359c0b3b263dc7dc9bd63
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4803
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
This commit is contained in:
William Carroll 2021-11-05 17:06:43 -07:00 committed by clbot
parent 9098920f0a
commit 89a5d93b24

View file

@ -104,7 +104,10 @@
(setq markdown-command "pandoc")
(setq markdown-split-window-direction 'right)
;; (add-hook 'markdown-mode-hook #'markdown-live-preview-mode)
)
;; Use mode-specific syntax highlighting for code blocks.
(setq markdown-fontify-code-blocks-natively t)
;; Prevent Emacs from adding a space after the leading 3x-backticks.
(setq markdown-spaces-after-code-fence 0))
(use-package alert)