63
GitHub - seagle0128/grip-mode: Instant Github-flavored Markdown/Org preview usin...
source link: https://github.com/seagle0128/grip-mode
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
grip-mode
Instant Github-flavored Markdown/Org preview using grip (Github README Instant Preview).
Prerequisite
Install
Manual
From melpa, M-x package-install RET grip-mode RET
.
;; Make a keybinding: `C-c C-c g' (define-key markdown-mode-command-map (kbd "g") #'grip-mode) ;; or start grip when opening a markdown file (add-hook 'markdown-mode-hook #'grip-mode)
Use-package
(use-package grip-mode :ensure t :bind (:map markdown-mode-command-map ("g" . grip-mode)))
Run M-x grip-mode
to preview the markdown and org file with the default browser.
Customize
Run M-x customize-group RET grip RET
or set the variables.
;; Path to the grip binary (setq grip-mode-binary-path (executable-find "grip"))
Screenshots
Limitations
- Need to save the buffer before rendering and previewing.
- After reverting the buffer, the grip process will be killed automatically.
FAQ
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK