Skip to content

Commit 5dc9cb5

Browse files
committed
reactivated markdown mode
1 parent 61624dc commit 5dc9cb5

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

init.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
larsen-clojure
3535
larsen-perl
3636
larsen-haskell
37-
;; larsen-markdown
37+
larsen-markdown
3838
larsen-smarttab
3939
larsen-tramp
4040
larsen-helm

lisp/larsen-markdown.el

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
;;; larsen-markdown.el -- Markdown setup
22

3-
(use-package markdown-mode)
4-
5-
(setq-default markdown-command "/usr/bin/pandoc -S -s --self-contained -f markdown -t html5 --data-dir=. ")
6-
7-
(add-to-list 'auto-mode-alist '("\\.markdown$" . markdown-mode))
8-
(add-to-list 'auto-mode-alist '("\\.md$" . markdown-mode))
3+
(use-package markdown-mode
4+
:mode ("\\.markdown$" "\\.md$")
5+
:custom (markdown-command "/usr/bin/pandoc -s --self-contained -f markdown -t html5 --data-dir=. "))
96

107
(defun my-flymd-browser-function (url)
118
(let ((browse-url-browser-function 'browse-url-firefox))

0 commit comments

Comments
 (0)