1.0.7 • Published 8 years ago

noslide-js v1.0.7

Weekly downloads
6
License
MIT
Repository
github
Last release
8 years ago

noslide.js

NPM

Build Status Coverage Status Dependencies

Install

git clone https://github.com/crazyguitar/noslide.js
cd noslide.js
npm install
Install binary tool
npm install -g

Demo

npm.io

Binary tool

$ noslide -h

  Usage: noslide [options] <markdown>

  Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -t, --theme [theme]  Add the specified theme [Ptt]

Control Keys

    Arrow right      next slide
    Arrow left       previous slide
    Arrow up         scroll up slide
    Arrow down       scroll down slide
    home             go to first slide
    end              go to last slide
    r                reload slide
    esc, q, Ctrl+c   quit

How to use noslide

var noslide = require('noslide-js').noslide
  , theme = require('noslide-js').themes.Ptt;


const markdown = 'slides/example.md'

let slide = new noslide(markdown, theme);
slide.render();

Other related projects

vimdeck mdp vtmc tkn