Skip to content

mori-dev/markup-preview-command

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published