Giter Site home page Giter Site logo

vmd's Introduction

vmd

NPM version build status Downloads js-standard-style

Preview markdown files in a separate window. Markdown is formatted exactly the same as on GitHub.

screenshot

Installation

$ npm install -g vmd

Usage

$ vmd DOCUMENT.md

When no path to a document is supplied, "README.md" will be opened by default.

$ vmd

You can also pipe markdown content into stdin:

$ cat README.md | vmd

For example, you can see the markdown for browserify like so:

$ npm view browserify readme | vmd

Configuration

If you wish to change some of the default settings create a config file called .vmdrc in your home directory or in ~/.config/vmd.

Here's a sample config file (shows the default values):

zoom = 1.0
document = README.md
  • zoom is the zoom factor. If you prefer the text in vmd to be bigger you can change this to a higher value, like 1.25.

  • document is the default document name. This is the file that vmd will try to open if you start vmd without providing a path to a document, i.e. if you just type vmd.

If you have configured a nice zoom factor but changed your mind just for this particular time you can override the settings using command-line arguments. Like this: vmd --zoom=2 MYFILE.md

Authors

License

MIT

vmd's People

Contributors

maxkueng avatar yoshuawuyts avatar mattdesl avatar gibatronic avatar alexandergugel avatar hackergrrl avatar amovah avatar johannjacobsohn avatar waynezhang avatar

Watchers

James Cloos avatar 一丝 avatar  avatar

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.