@codename/deck 0.1.1 → 0.2.0
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/deck.bundle.mjs +57 -57
- package/dist/deck.bundle.mjs.map +3 -3
- package/dist/deck.css +11 -1
- package/dist/deck.js +81 -71
- package/dist/deck.js.map +3 -3
- package/dist/deck.mjs +34 -34
- package/dist/deck.mjs.map +3 -3
- package/dist/template.mjs +2 -0
- package/dist/template.mjs.map +7 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/kit.d.ts +10 -1
- package/dist/types/look.d.ts +2 -1
- package/dist/types/template.d.ts +16 -0
- package/dist/types/version.d.ts +1 -1
- package/docs/format.md +1 -1
- package/docs/host.md +4 -2
- package/docs/kits.md +14 -2
- package/package.json +9 -5
- package/src/blocks.js +1 -1
- package/src/deck.css +11 -1
- package/src/deck.js +3 -1
- package/src/index.js +1 -1
- package/src/kit.js +32 -14
- package/src/look.js +5 -2
- package/src/pptx.js +10 -3
- package/src/render.js +9 -1
- package/src/standalone.js +1 -1
- package/src/template.js +161 -0
- package/src/version.js +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# deck
|
|
2
2
|
|
|
3
|
-
Slide decks as one web page. A deck is a `.deck.html` file: its Markdown, in Slidev's form, sits whole inside it, and a small renderer draws and presents it in any browser. Opened with scripts off, the same file shows its Markdown as plain text. The renderer also runs inside a host application
|
|
3
|
+
Slide decks as one web page. A deck is a `.deck.html` file: its Markdown, in Slidev's form, sits whole inside it, and a small renderer draws and presents it in any browser. Opened with scripts off, the same file shows its Markdown as plain text. The renderer also runs inside a host application, changes a deck live as Markdown or on the slide, and saves it as a PowerPoint whose words, tables and charts stay editable.
|
|
4
4
|
|
|
5
5
|
````html
|
|
6
6
|
<!doctype html>
|
|
@@ -39,7 +39,7 @@ layout: two-cols
|
|
|
39
39
|
|
|
40
40
|
## What it does
|
|
41
41
|
|
|
42
|
-
- **Layouts and looks as kits.** Seventeen layouts come with deck, Slidev's names and PowerPoint's usual ones. A kit adds others and a design system (DTCG tokens or a few flat ones) as data, never CSS. A slide that names no layout gets the one its content suits. See [docs/kits.md](docs/kits.md).
|
|
42
|
+
- **Layouts and looks as kits.** Seventeen layouts come with deck, Slidev's names and PowerPoint's usual ones. A kit adds others, turns some off, and holds a design system (DTCG tokens or a few flat ones) and a logo, as data, never CSS. A slide that names no layout gets the one its content suits. A company's PowerPoint template (or an Office theme) reads into a kit, and a kit's tokens write out as DTCG. See [docs/kits.md](docs/kits.md).
|
|
43
43
|
- **Light and dark** from the same tokens, every colour held at WCAG AA on its paper.
|
|
44
44
|
- **Presenting:** full screen, a clicker's keys, steps (`<v-clicks>`), Slidev's transitions and a Morph that needs nothing written, the presenter's view with notes and a timer, all slides at once.
|
|
45
45
|
- **Charts and diagrams:** ` ```echarts ` blocks drawn by ECharts, ` ```mermaid ` blocks drawn by [Pele](https://github.com/obsidianmd/pele) (every kind Mermaid has, from 17 KB a kind), each loaded the first time a slide needs it.
|
|
@@ -90,7 +90,7 @@ Commits carry no Co-Authored-By or Claude-Session trailer: `.claude/settings.jso
|
|
|
90
90
|
|
|
91
91
|
## Status
|
|
92
92
|
|
|
93
|
-
0.1.
|
|
93
|
+
0.1.2, on npm as `@codename/deck`. [docs/findings.md](docs/findings.md) says what was measured.
|
|
94
94
|
|
|
95
95
|
## Licence
|
|
96
96
|
|