make curly braces optional for the R language indication in markdown

This commit is contained in:
rustyplanet 2016-01-12 22:21:29 +00:00 committed by syl20bnr
parent 1bff8a2f61
commit 4265e0e35c

View file

@ -190,7 +190,7 @@ Will work on both org-mode and any mode that accepts plain html."
(mmm-add-classes '((markdown-ess
:submode R-mode
:face mmm-declaration-submode-face
:front "^```[{]r.*[}][\n\r]+"
:front "^```{?r.*}?[\n\r]+"
:back "^```$")))
(setq mmm-global-mode t)
(mmm-add-mode-ext-class 'markdown-mode nil 'markdown-python)