Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Latest commit

 

History

History
74 lines (51 loc) · 1.82 KB

README.md

File metadata and controls

74 lines (51 loc) · 1.82 KB

noslide.js

NPM

Build Status Coverage Status Dependency Status Code Climate

Install

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

Demo

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