No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
etc
lib
licenses
sample
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
markup-preview-command.gemspec

README.md

Markup Previw Command

Build Status

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.