From b3208cb067e881ab8fa8f9c22ab46630f26e3a02 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Wed, 28 Dec 2016 23:01:43 +0800 Subject: [PATCH] change font style as monospace for code --- emacs.d/config.org | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.11.0