This repository has been archived by the owner. It is now read-only.
mip.cr v0.1.4
Markdown Instant Preview - MiP
There is an improved version written in Rust
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
Repository
mip.cr
Owner
Statistic
- 4
- 0
- 11
- 0
- 6
- almost 2 years ago
- August 18, 2022
License
MIT License
Links
Synced at
Thu, 07 Nov 2024 03:58:43 GMT
Languages