Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby Emacs Lisp
Tree: ae842e672b

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
etc
lib
licenses
test
.gitignore
Gemfile
LICENSE
README.md
Rakefile
markup-preview-command.gemspec

README.md

Markup Previw Command

We use this library on Github when rendering your README or any other rich text file, When We are editing by Emacs or other editor.

Markups

The following markups are supported. Because We use github-markup gem.

Installation

gem install markup-preview-command

Usage

markup-preview --filepath foo --markup markdown --output browser
markup-preview --filepath foo.md --output browser
markup-preview --f foo.md -o browser
cat bar.md | markup-preview -m markdown

Or, more realistically:

Put markup-preview.el in your load-path.
cp path/to/markup-preview-command/etc/markup-preview.el ${HOME}/.emacs.d/elisp/markup-preview.el

Add following code.
(require 'markup-preview)
(global-set-key (kbd "M--") 'markup-preview) ; key bind example

Contributing

Fork, fix, then send me a pull request.

Copyright

Copyright (c) mori_dev. See LICENSE for details.

Something went wrong with that request. Please try again.