slidetake 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -1
- package/dist/index.html +423 -27
- package/dist/slidetake.js +320 -66
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -6,6 +6,10 @@ Slidetake turns a markdown file into a deck you move through like a map, and, wh
|
|
|
6
6
|
|
|
7
7
|
The built app is a single HTML file, [`dist/index.html`](dist/index.html): open it, copy it or host it anywhere.
|
|
8
8
|
|
|
9
|
+
## Examples
|
|
10
|
+
|
|
11
|
+
[`examples/`](examples) holds the decks to look at and start from: [`showcase.md`](examples/showcase.md) has everything a card can hold (steps, Graphviz, D2, SVG, ECharts, images, galleries, YouTube, camera) and is what [slidetake.com/examples](https://slidetake.com/examples) shows; the starter templates sit beside it.
|
|
12
|
+
|
|
9
13
|
## Run it
|
|
10
14
|
|
|
11
15
|
```sh
|
|
@@ -75,7 +79,10 @@ window.SLIDETAKE = {
|
|
|
75
79
|
|
|
76
80
|
Load it from npm through a CDN (pin the version, as above), or copy `dist/slidetake.js` into your site, or `npm install slidetake` and serve `node_modules/slidetake/dist/slidetake.js`.
|
|
77
81
|
|
|
78
|
-
The page then shows that deck, read-only,
|
|
82
|
+
The page then shows that deck, read-only, in one of two modes:
|
|
83
|
+
|
|
84
|
+
- **Viewer** (the default): no bottom bar. The header carries Slidetake, the layouts, light/dark, Keys and Fullscreen.
|
|
85
|
+
- **Record** (`?obs=` in the address, or `recording: true`): the bottom bar as on slidetake.com, with Keys, Camera, Record and Fullscreen. See [examples/embed.html](examples/embed.html). The [hugo-continuum](https://github.com/sakthipriyan/hugo-continuum) theme uses it for slide pages with `engine: slidetake`.
|
|
79
86
|
|
|
80
87
|
## Develop
|
|
81
88
|
|