From: Peng Li Date: Wed, 28 Dec 2016 15:01:43 +0000 (+0800) Subject: change font style as monospace for code X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;ds=inline;h=b3208cb067e881ab8fa8f9c22ab46630f26e3a02;p=dotfiles.git change font style as monospace for code --- diff --git a/emacs.d/config.org b/emacs.d/config.org index 9d7b6ce..ece641e 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -2554,6 +2554,10 @@ Emacs lisp auto-insert, based on the default module in =autoinsert.el=, but repl ("\\.md\\'" . markdown-mode) ("\\.markdown\\'" . markdown-mode)) :init (setq markdown-command "multimarkdown")) + + (with-eval-after-load "gfm-mode" + (set-face-attribute 'markdown-inline-code-face nil :inherit 'fixed-pitch) + (set-face-attribute 'markdown-pre-face nil :inherit 'fixed-pitch)) #+END_SRC #+BEGIN_SRC emacs-lisp :tangle yes :results silent