Socket
Book a DemoInstallSign in
Socket

slid.js

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slid.js

A stupid command line slide tool

1.0.5
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Slid.js

A super stupid tool for running slides on the command line.

It’s on NPM. Just do npm install slid.js, add -g if you are a true masochist.

Please don't use this for anything ever and PLEASE don't read the code.

Usage

slid mySlides.txt

Some markdown supported, plus there’s some special syntax. If you try to use markdown that is not supported you are likely to get html output (I’ve basically just overridden a bunch of methods on the Marked markdown parser.).

Use ---- (exactly four dashes) to separate slides, and -- (two dashes) to separate slide content.

A paragraph starting with ~ is centered.

A paragraph containing nothing but ~ is rendered as a couple of newlines.

Guarded code blocks are supported. Code is highlighted with pygments if language is provided.

Inline code spans can be prefixed with programming language like this: `lang=javascript alert('hello')`

Headers are rendered using figlet.

Blockquotes (lines prefixed with >) are not shown. This is handy for printing out slide content with added comments.

Presenter display

There is a web-based presenter display running on *:3000. Enjoy.

Executing code

If you add a code snippet and set the language to #!, it will not be shown in the slides but executed in the shell in the background. Useful for trigging build jobs/launching editors etc.

Settings

There are none. You'll have to modify the code, which is basically a single strand of spaghetti.

FAQs

Package last updated on 15 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.