Markdown Instant Preview - MiP
Markdown Instant Preview aka mip
is a fast and simple markdown viewer. Mip uses
a webview window to render the markdown. I wrote mip
to this preview my markdown
files which I write in vim.
Installation
- no releases yet. You should compile it yourself.
Features
- built-in webserver
- preview images
- show/hide frontmatter
- autoreload if file changes
Todo
- refactor code
- release workflow
Usage
mip. A simple markdown viewer.
Usage:
mip [options] [FILE]
Options:
--help Show this help.
--version Show version.
Arguments:
01. file Path to markfown file. [type:String] [required]
Shortcuts:
CTRL-r Reload document
Development
Prerequisites
- crystal 1.x
- yarn
- make
- webkitgtk
- fswatch
Setup Dev Environment
shards install
yarn
Compile and run program
make
Build optimized program
make build
./mip
Compile themes
make build
./mip
Contributing
- Fork it (https://github.com/mipmip/mip/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Pim Snel - creator and maintainer