summaryrefslogtreecommitdiff
path: root/lisp/markdown.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/markdown.el')
-rw-r--r--lisp/markdown.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/lisp/markdown.el b/lisp/markdown.el
new file mode 100644
index 0000000..97e5b92
--- /dev/null
+++ b/lisp/markdown.el
@@ -0,0 +1,14 @@
+
+;;; Code:
+(autoload 'markdown-mode "markdown-mode"
+ "Use the markdown-mode package to provide 'markdown-mode on-demand."
+ t)
+(use-package markdown-mode
+ :commands (markdown-mode gfm-mode)
+ :mode (("README\\.md\\'" . gfm-mode)
+ ("\\.md\\'" . markdown-mode)
+ ("\\.markdown\\'" . markdown-mode))
+ :init (setq markdown-command "multimarkdown"))
+
+(provide 'markdown)
+;;; markdown.el ends here