mdeck 3.6.0 → 3.6.2
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/CHANGELOG.md +11 -0
- package/README.md +48 -3
- package/docs/site/assets/site.css +21 -0
- package/docs/site/assets/site.js +17 -7
- package/docs/site/build.js +15 -6
- package/docs/site/content/commands.md +2 -1
- package/docs/site/content/drawing.md +1 -1
- package/docs/site/content/sharing.md +1 -1
- package/docs/site/content/welcome.md +70 -6
- package/docs/site/examples/chart.svg +5 -0
- package/docs/site/examples/contours.jpg +0 -0
- package/docs/site/examples/first-talk.drawings.json +1 -0
- package/docs/site/examples/first-talk.md +125 -35
- package/docs/site/examples/first-talk.results.json +171 -0
- package/docs/site/examples/mdeck.svg +66 -0
- package/docs/site/examples/references.bib +23 -0
- package/docs/site/images/features/citations.webp +0 -0
- package/docs/site/images/features/code.webp +0 -0
- package/docs/site/images/features/drawing.webp +0 -0
- package/docs/site/images/features/polls.webp +0 -0
- package/docs/site/images/features/reader.webp +0 -0
- package/docs/site/images/features/themes.webp +0 -0
- package/docs/site/images/themes/academic-thumb.webp +0 -0
- package/docs/site/images/themes/glass-thumb.webp +0 -0
- package/docs/site/images/themes/minimal-thumb.webp +0 -0
- package/docs/site/images/themes/neue-thumb.webp +0 -0
- package/docs/site/images/themes/plain-thumb.webp +0 -0
- package/docs/site/images/themes/work-thumb.webp +0 -0
- package/package.json +3 -2
- package/skills/write-slides/SKILL.md +1 -1
- package/src/build/chrome.js +33 -2
- package/src/build/renderCheck.js +36 -5
- package/src/cli/args.js +1 -1
- package/src/cli/index.js +2 -1
- package/src/core/labels.js +6 -0
- package/src/runtime/ReaderView.jsx +21 -12
- package/src/runtime/deck-stage.js +5 -1
- package/src/runtime/reader.css +2 -0
- package/docs/site/examples/notebook.svg +0 -58
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="1600" height="1000" viewBox="0 0 1600 1000">
|
|
2
|
-
<!-- An open lab notebook on a dark desk: ruled pages with entries, a results table, a plot and a pen.
|
|
3
|
-
The lower part of the picture stays dark so a heading can sit on it. -->
|
|
4
|
-
<defs>
|
|
5
|
-
<linearGradient id="desk" x1="0" y1="0" x2="0" y2="1">
|
|
6
|
-
<stop offset="0" stop-color="#4a3b30"/>
|
|
7
|
-
<stop offset="1" stop-color="#211a15"/>
|
|
8
|
-
</linearGradient>
|
|
9
|
-
<linearGradient id="spine" x1="0" x2="1">
|
|
10
|
-
<stop offset="0" stop-color="#fbf8f1" stop-opacity="0"/>
|
|
11
|
-
<stop offset=".5" stop-color="#b9ad98"/>
|
|
12
|
-
<stop offset="1" stop-color="#fbf8f1" stop-opacity="0"/>
|
|
13
|
-
</linearGradient>
|
|
14
|
-
<pattern id="rule" width="10" height="40" patternUnits="userSpaceOnUse">
|
|
15
|
-
<line x1="0" y1="39.5" x2="10" y2="39.5" stroke="#bfd3e6" stroke-width="2"/>
|
|
16
|
-
</pattern>
|
|
17
|
-
</defs>
|
|
18
|
-
<rect width="1600" height="1000" fill="url(#desk)"/>
|
|
19
|
-
<g transform="translate(260 40) scale(.68) rotate(-3 800 500)">
|
|
20
|
-
<rect x="150" y="90" width="1300" height="830" rx="14" fill="#1b2533"/>
|
|
21
|
-
<rect x="170" y="105" width="625" height="800" fill="#fbf8f1"/>
|
|
22
|
-
<rect x="805" y="105" width="625" height="800" fill="#fbf8f1"/>
|
|
23
|
-
<rect x="770" y="105" width="60" height="800" fill="url(#spine)"/>
|
|
24
|
-
<rect x="170" y="180" width="625" height="700" fill="url(#rule)"/>
|
|
25
|
-
<rect x="805" y="180" width="625" height="700" fill="url(#rule)"/>
|
|
26
|
-
<line x1="240" y1="105" x2="240" y2="905" stroke="#e39a9a" stroke-width="3"/>
|
|
27
|
-
<line x1="875" y1="105" x2="875" y2="905" stroke="#e39a9a" stroke-width="3"/>
|
|
28
|
-
<g fill="none" stroke="#24304a" stroke-width="5" stroke-linecap="round">
|
|
29
|
-
<path d="M262 165 h120 M402 165 h70"/>
|
|
30
|
-
<path d="M262 245 h300" stroke-width="7"/>
|
|
31
|
-
<path d="M262 325 h420 M262 365 h380 M262 405 h300"/>
|
|
32
|
-
<path d="M262 485 h30 M310 485 h300 M262 525 h30 M310 525 h340 M262 565 h30 M310 565 h260 M262 605 h30 M310 605 h320"/>
|
|
33
|
-
<path d="M262 685 h400 M262 725 h360"/>
|
|
34
|
-
<path d="M262 805 h250" stroke="#b5452f"/>
|
|
35
|
-
</g>
|
|
36
|
-
<path d="M520 798 q20 -18 40 0 t40 0" fill="none" stroke="#b5452f" stroke-width="4" stroke-linecap="round"/>
|
|
37
|
-
<g fill="none" stroke="#24304a" stroke-width="4" stroke-linecap="round">
|
|
38
|
-
<path d="M897 165 h160"/>
|
|
39
|
-
<rect x="897" y="220" width="460" height="200"/>
|
|
40
|
-
<path d="M897 270 h460 M897 320 h460 M897 370 h460 M1050 220 v200 M1200 220 v200"/>
|
|
41
|
-
<path d="M915 247 h90 M1068 247 h90 M1218 247 h90" stroke-width="5"/>
|
|
42
|
-
<path d="M915 297 h60 M1068 297 h70 M1218 297 h50 M915 347 h60 M1068 347 h40 M1218 347 h80 M915 397 h60 M1068 397 h60 M1218 397 h60" stroke-width="3"/>
|
|
43
|
-
<path d="M917 820 V480 M917 820 H1360"/>
|
|
44
|
-
<path d="M930 800 C1010 790 1060 700 1110 610 S1240 500 1340 495" stroke="#2455c7" stroke-width="5"/>
|
|
45
|
-
</g>
|
|
46
|
-
<g fill="#2455c7">
|
|
47
|
-
<circle cx="960" cy="792" r="9"/><circle cx="1040" cy="742" r="9"/><circle cx="1105" cy="628" r="9"/>
|
|
48
|
-
<circle cx="1175" cy="545" r="9"/><circle cx="1260" cy="510" r="9"/><circle cx="1335" cy="500" r="9"/>
|
|
49
|
-
</g>
|
|
50
|
-
<g transform="rotate(32 1260 690)">
|
|
51
|
-
<rect x="1000" y="676" width="430" height="30" rx="14" fill="#1d2735"/>
|
|
52
|
-
<rect x="1330" y="676" width="34" height="30" fill="#c9a24b"/>
|
|
53
|
-
<path d="M1000 676 l-46 15 l46 15 z" fill="#e8dcc4"/>
|
|
54
|
-
<path d="M954 691 l14 -4 v8 z" fill="#1d2735"/>
|
|
55
|
-
<rect x="1080" y="668" width="150" height="10" rx="5" fill="#c9a24b"/>
|
|
56
|
-
</g>
|
|
57
|
-
</g>
|
|
58
|
-
</svg>
|