Add grip-mode for live GF markdown previews
This commit is contained in:
parent
e1d86f3046
commit
ed71b9fa43
4 changed files with 11 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue