Skip to content

Commit

Permalink
tweak(polymode): enable in Markdown/GFM
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 2, 2023
1 parent 1386571 commit 4ff674a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion modules/me-docs.el
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,16 @@
"ll" #'markdown-insert-link
"e" #'markdown-export))

(use-package poly-markdown
;; See how to define polymodes in:
;; masteringemacs.org/article/polymode-multiple-major-modes-how-to-use-sql-python-in-one-buffer
(use-package polymode
:straight t)

(use-package poly-markdown
:straight t
:hook (markdown-mode . poly-markdown-mode)
:hook (gfm-mode . poly-gfm-mode))

(use-package pandoc-mode
:straight t
:hook (markdown-mode . conditionally-turn-on-pandoc))
Expand Down

0 comments on commit 4ff674a

Please sign in to comment.