markdown-mode: handle triple backquotes better
This commit is contained in:
parent
ad1d3ef2d3
commit
abec12c26d
1 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,12 @@
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(def-electric! markdown-mode :chars ("+" "#"))
|
(def-electric! markdown-mode :chars ("+" "#"))
|
||||||
|
|
||||||
|
(sp-local-pair
|
||||||
|
'(markdown-mode gfm-mode)
|
||||||
|
"\`\`\`" "\`\`\`" :post-handlers '(("||\n" "RET")))
|
||||||
|
|
||||||
|
(map! :map gfm-mode-map "`" 'self-insert-command)
|
||||||
(map! :map markdown-mode-map
|
(map! :map markdown-mode-map
|
||||||
"<backspace>" nil
|
"<backspace>" nil
|
||||||
"<M-left>" nil
|
"<M-left>" nil
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue