Code Monkey home page Code Monkey logo

mdviewer's Introduction

mdviewer

PkgGoDev Latest Release

This is a sample using the ov(oviewer) package.

docs/mdviewer.gif

Start with mdviewer markdown file.

mdviewer README.md

Rendered and displayed by glamour.

  • Press the ] key to see the original file.
  • Press the [ key to return.

See the ov for other operations.

Installation

go install

go install github.com/noborus/mdviewer@latest

Binary

Releases

Homebrew

brew install noborus/tap/mdviewer

Arch Linux

https://aur.archlinux.org/packages/mdviewer-git

deb

You can download the package from releases.

curl -L -O https://github.com/noborus/mdviewer/releases/download/vx.x.x/mdviewer_x.x.x-1_amd64.deb
sudo apt install ./mdviewer_x.x.x_amd64.deb

rpm

You can download the package from releases.

sudo rpm -ivh https://github.com/noborus/mdviewer/releases/download/vx.x.x/mdviewer_x.x.x-1_amd64.rpm

mdviewer's People

Contributors

dependabot[bot] avatar noborus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mdviewer's Issues

[Enhancement] Options `-h`/`--help` and `-V`/`--version` would be nice

The current behaviour is suboptimal:

» mdviewer -h
2024/02/26 20:38:30 open -h: no such file or directory

Something like this is more helpful:

» mdviewer -h
usage: mdviewer [OPTIONS] FILE

Rendered display of markdown on terminal

positional arguments:
  FILE           markdown file to view

options:
  -h, --help     show this help message and exit
  -V, --version  show version information and exit

The version information is useful when reporting bugs, and to asses whether an installed binary is ripe for upgrade.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.