This repository has been archived by the owner. It is now read-only.

mip.cr v0.1.4

Markdown In Preview. A fast and simple markdown viewer

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

  1. Fork it (https://github.com/mipmip/mip/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

mip.cr

Owner
Statistic
  • 4
  • 0
  • 11
  • 0
  • 6
  • about 1 year ago
  • August 18, 2022
License

MIT License

Links
Synced at

Mon, 22 Apr 2024 14:56:19 GMT

Languages