Skip to content

Commit

Permalink
Added *.md.erb as a markdown-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rmm5t committed May 17, 2015
1 parent 7aad2bc commit 1b75200
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions emacs.d/personal/markdown-mode.el
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
;;; Markdown

(add-to-list 'auto-mode-alist '("\\.markdown$" . gfm-mode))
(add-to-list 'auto-mode-alist '("\\.md$" . gfm-mode))
(add-to-list 'auto-mode-alist '("\\.text$" . gfm-mode))
(add-to-list 'auto-mode-alist '("\\.md$" . gfm-mode))
(add-to-list 'auto-mode-alist '("\\.md\\.erb$" . gfm-mode))
(add-to-list 'auto-mode-alist '("\\.text$" . gfm-mode))

;; Original premise borrowed from https://gist.github.com/siancu/4542778
(defun marked-markdown-preview ()
Expand Down

0 comments on commit 1b75200

Please sign in to comment.