Skip to content

Commit

Permalink
add Markdown Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ravachol-yang committed Feb 24, 2024
1 parent d54c0c4 commit ab2c05d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ to use the latest stable Emacs release like I do.
- Language Support
- Racket (Racket Mode)
- Org (Org Mode)
- Markdown (Markdown Mode)
- Enhance
- Counsel (ivy, counsel, swiper)
- Delight
Expand Down
1 change: 1 addition & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
;; language support
(require 'init-racket)
(require 'init-org)
(require 'init-markdown)

;; enhance
(require 'init-counsel)
Expand Down
11 changes: 11 additions & 0 deletions lisp/init-markdown.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
;;; init-markdown.el --- Markdown Mode -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:

(use-package markdown-mode
:ensure t
:mode ("README\\.md\\'" . gfm-mode)
:init (setq markdown-command "multimarkdown"))

(provide 'init-markdown)
;;; init-markdown.el ends here

0 comments on commit ab2c05d

Please sign in to comment.