git clone https://github.com/crazyguitar/noslide.js
cd noslide.js
npm install
npm install -g
$ 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]
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
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();