https://github.com/fxfactorial/ez-lectures
Easily make pretty lecture notes/Presentations, especially for coding. Just provide a JS file and get a self contained HTML file
https://github.com/fxfactorial/ez-lectures
generate lectures slides
Last synced: 12 months ago
JSON representation
Easily make pretty lecture notes/Presentations, especially for coding. Just provide a JS file and get a self contained HTML file
- Host: GitHub
- URL: https://github.com/fxfactorial/ez-lectures
- Owner: fxfactorial
- Created: 2017-12-08T09:20:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-10T11:00:04.000Z (over 8 years ago)
- Last Synced: 2025-03-15T09:14:31.295Z (over 1 year ago)
- Topics: generate, lectures, slides
- Language: JavaScript
- Homepage: https://hyegar.com
- Size: 3.14 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```
