1. Yorgos Pagles
  2. emacs.d

Commits

Yorgos Pagles  committed 851e556

added markdown support

  • Participants
  • Parent commits 37d2752
  • Branches default

Comments (0)

Files changed (1)

File init.el

View file
         django-mode
         nxhtml
         yasnippet
+        markdown-mode
         go-mode))
 
 (setq my:el-get-packages
 ; js2-mode
 (autoload 'js2-mode "js2-mode" nil t)
 (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
+
+; markdown mode
+(autoload 'markdown-mode "markdown-mode.el" 
+  "Major mode for editing Markdown files" t)
+(setq auto-mode-alist
+      (cons '("\\.md" . markdown-mode) auto-mode-alist))
+
 (custom-set-variables
   ;; custom-set-variables was added by Custom.
   ;; If you edit it by hand, you could mess it up, so be careful.