Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@algebr/ez-lectures

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algebr/ez-lectures

Easily make a self contained single HTML file for coding based lectures

  • 0.0.2
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

ez-lectures

Easily make beautiful lectures!

Usage

Install with:

$ yarn global add @algebr/ez-lectures

or

$ npm install -g @algebr/ez-lectures

ez-lectures uses some sensible defaults for theming

$ ez-lectures --src-slides slides-data.js --watch

But you can control it as well, see the --help flag to get links of where you can find all the available names for theming.

$ ez-lectures --src-slides slides-data.js --watch --slide-theme solarized --code-theme arduino-light

Data structures expected for lectures.

type metadata = {
  title: string,
  global_styles: string
}

type title_slide = {
  lecture_name: string
  location: {presentation_spot: string, geographic_location: string},
  author: {name: string, twitter: string, github: string},
  title: string,
  byline: ?string, 
}

type slide = {
  title:string,
  content: Array<
    | string 
    | {code: string, programming_language: string}
    | {link: string}
  >,
}

See example/data.js for an example of correct slide data input.

ez-lectures --src-slides data.js --watch

ez-lectures --src-slides data.js --watch --slide-theme solarized --code-theme arduino-light

FAQs

Package last updated on 09 Dec 2017

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc