Skip to content

Commit

Permalink
add support gfm-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dnxbjyj committed Oct 20, 2019
1 parent 259544a commit 03b688c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pasteex-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
"Build image file path that to insert to current point."
(cond
((string-equal major-mode "markdown-mode") (format "![%s](%s)" display-name file-path))
((string-equal major-mode "gfm-mode") (format "![%s](%s)" display-name file-path))
((string-equal major-mode "org-mode") (progn
(if (string-empty-p display-name)
(format "[[%s]]" file-path)
Expand Down

0 comments on commit 03b688c

Please sign in to comment.