mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add grip-mode for live GF markdown previews
This commit is contained in:
@ -122,6 +122,8 @@ installed through your OS's package manager:
|
||||
non-evil users). This will open a preview of your compiled markdown document in
|
||||
your browser.
|
||||
|
||||
Alternatively, you can use ~grip-mode~ through =+grip=.
|
||||
|
||||
* Configuration
|
||||
** Changing how markdown is compiled
|
||||
When ~markdown-preview~ is invoked (=SPC m b= or =C-c l b=), it consults
|
||||
|
@ -69,6 +69,8 @@ capture, the end position, and the output buffer.")
|
||||
"o" #'markdown-open
|
||||
"p" #'markdown-preview
|
||||
"e" #'markdown-export
|
||||
(:when (featurep! +grip)
|
||||
"p" #'grip-mode)
|
||||
(:prefix ("i" . "insert")
|
||||
"t" #'markdown-toc-generate-toc
|
||||
"i" #'markdown-insert-image
|
||||
|
@ -16,3 +16,7 @@
|
||||
(unless (executable-find cmd)
|
||||
(warn! "Couldn't find %S. markdown-preview command won't work"
|
||||
cmd))))))
|
||||
|
||||
(when (featurep! +grip)
|
||||
(unless (executable-find "grip")
|
||||
(warn! "Couldn't find grip. grip-mode will not work")))
|
||||
|
@ -4,3 +4,6 @@
|
||||
(package! markdown-mode)
|
||||
(package! markdown-toc)
|
||||
(package! edit-indirect)
|
||||
|
||||
(when (featurep! +grip)
|
||||
(package! grip-mode))
|
||||
|
Reference in New Issue
Block a user