slidetake 0.4.2 → 0.4.4
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 +3 -3
- package/dist/index.html +327 -15
- package/dist/slidetake.js +463 -129
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ The built app is a single HTML file, [`dist/index.html`](dist/index.html): open
|
|
|
20
20
|
npx slidetake deck.md # or a folder: its index.md, deck.md, slides.md or README.md
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Opens on `http://localhost:4300` (`--port` to change, `--open` to open the browser). Files next to the deck are served beside it, so `` works. Saving the file reloads the deck where you are; typing in the browser's editor saves to the file.
|
|
23
|
+
Opens on `http://localhost:4300` (`--port` to change, `--open` to open the browser). Files next to the deck are served beside it, so `` works. Saving the file reloads the deck where you are; typing in the browser's editor saves to the file. Node 20+.
|
|
24
24
|
|
|
25
25
|
## Examples
|
|
26
26
|
|
|
@@ -72,7 +72,7 @@ In Chrome, Edge and other Chromium browsers the deck records itself, nothing to
|
|
|
72
72
|
|
|
73
73
|
Recording is on slidetake.com and `npx slidetake`; decks embedded with `slidetake.js` are view-only.
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
OBS runs on the same computer as the deck (`localhost`).
|
|
76
76
|
|
|
77
77
|
## Decks
|
|
78
78
|
|
|
@@ -98,7 +98,7 @@ window.SLIDETAKE = {
|
|
|
98
98
|
recording: false // optional: true brings back ● Studio, for your own preview
|
|
99
99
|
};
|
|
100
100
|
</script>
|
|
101
|
-
<script src="https://cdn.jsdelivr.net/npm/slidetake@0.4.
|
|
101
|
+
<script src="https://cdn.jsdelivr.net/npm/slidetake@0.4.4/dist/slidetake.js"></script>
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
`colors` takes any CSS colour per token, for both modes or under `light` / `dark`: `accent` (text and the current slide), `accentSoft` (smaller headings), `line` (borders and the active path), `ring` (the current slide's outline), `header` and `headerText` (a band of colour behind the header). A deck can also set its own with `accent:` in its top block.
|