added markdown mode for text, mardown, md, and mdwn

This commit is contained in:
Kienan Stewart 2014-04-24 16:26:11 -04:00
parent d9535411aa
commit 078db4b5b5
2 changed files with 4677 additions and 0 deletions

View File

@ -16,6 +16,14 @@
(setq-default whitespace-line-column 80)
(global-whitespace-mode 1)
;; Markdown http://jblevins.org/projects/markdown-mode/markdown-mode.el
(autoload 'markdown-mode "markdown-mode"
"Major mode for editing Markdown files" t)
(add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode))
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
(add-to-list 'auto-mode-alist '("\\.mdwn\\'" . markdown-mode))
;; C, use k&r style by default (naev)
(setq-default c-default-style "k&r"
c-basic-offset 3)

4669
markdown-mode.el Normal file

File diff suppressed because it is too large Load Diff