GimmyHchs / markdown-grip

markdown privew with grip for emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markdown-Grip layer

Table of Contents


Description

This layer adds spacemacs support joeyespo/grip in markdown-mode.

  • joeyespo/grip Render local readme files before sending off to GitHub.

Installation

You must install grip first.

To install grip

$ pip install grip

On OS X

$ brew install grip

Clone this repository

$ git clone https://github.com/GimmyHchs/markdown-grip.git

Append config to ~/.spacemacs in dotspacemacs/user-config()

(defun dotspacemacs/user-config ()
  (use-package markdown-grip
    :load-path "~/path/to/folder/markdown-grip")
    
    ;; other configure ...

Restart spacemacs SPC q r

Usage

Run live-preview

  • in markdown-mode press , p p
  • or you can call markdown-preview-grip command
M-x markdown-preview-grip

the browser will start automatically. and rerender the page if you modify and save the markdown file

Kill the grip process

  • in markdown-mode press , p k
  • or you can call kill-markdown-preview-process command
M-x kill-markdown-preview-process

About

markdown privew with grip for emacs


Languages

Language:Emacs Lisp 100.0%