make curly braces optional for the R language indication in markdown
This commit is contained in:
parent
1bff8a2f61
commit
4265e0e35c
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue