summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 2f52c09..4359355 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -1279,9 +1279,15 @@ mouse-1: Display Line and Column Mode Menu"))))))
                 :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