noslide-js

A Simple Terminal slide tool

Usage no npm install needed!

<script type="module">
  import noslideJs from 'https://cdn.skypack.dev/noslide-js';
</script>

README

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

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