Browse Source

markdown preview mode now respects gfs-mode

pull/3/head
Igor Shymko 7 years ago
parent
commit
20b4788146
  1. 4
      markdown-preview-mode.el

4
markdown-preview-mode.el

@ -150,7 +150,9 @@
"Markdown preview mode"
:group 'markdown-preview-mode
:init-value nil
(when (not (equal major-mode 'markdown-mode))
(when (not (or
(equal major-mode 'markdown-mode)
(equal major-mode 'gfm-mode)))
(markdown-mode))
(if markdown-preview-mode
(mdpm:start)

Loading…
Cancel
Save