Emacs: Add shell script submode to markdown
Alan Pearce alan@alanpearce.co.uk
Sat, 09 Aug 2014 11:22:29 +0100
1 files changed, 7 insertions(+), 1 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -1279,9 +1279,15 @@ (markdown-lisp :submode common-lisp-mode :face mmm-code-submode-face :front "^{{% highlight cl %}}[\r\n]+" + :back "^{{% /highlight %}}$") + (markdown-shell + :submode shell-script-mode + :face mmm-code-submode-face + :front "^{{% highlight sh %}}[\r\n]+" :back "^{{% /highlight %}}$"))) (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-toml) - (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-lisp)) + (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-lisp) + (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-shell)) :init (setq mmm-global-mode 'maybe)) ;;;; Windows & Frames