rshow 0.0.6 → 0.0.7
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/dist/main.js +14921 -632
- package/package.json +2 -1
- package/skills/rshow/SKILL.md +7 -0
- package/skills/rshow/reference/reports.md +5 -1
- package/skills/rshow-slides/SKILL.md +7 -0
- package/skills/rshow-slides/reference/layouts.md +15 -0
- package/themes/default/deck.js +86 -4
- package/themes/default/example/index.html +19 -2
- package/themes/default/example/report.html +17 -10
- package/themes/default/fonts/katex/KaTeX_AMS-Regular.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Main-Bold.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Main-Italic.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Main-Regular.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Math-Italic.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Script-Regular.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Size1-Regular.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Size2-Regular.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Size3-Regular.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Size4-Regular.woff2 +0 -0
- package/themes/default/fonts/katex/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/themes/default/fonts/katex/LICENSE +21 -0
- package/themes/default/math.css +46 -0
- package/themes/default/math.js +58 -0
- package/themes/default/report.css +15 -6
- package/themes/default/theme.json +7 -0
|
@@ -388,24 +388,30 @@ tbody tr:last-child td {
|
|
|
388
388
|
font-variant-numeric: tabular-nums;
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
/* An equation is
|
|
392
|
-
column, so the number lines up with the right edge of the
|
|
393
|
-
|
|
394
|
-
|
|
391
|
+
/* An equation is a .math box in KaTeX's own face with its number at the right
|
|
392
|
+
end of the text column, so the number lines up with the right edge of the
|
|
393
|
+
prose. A tall equation centres its number instead of sticking to the first
|
|
394
|
+
line. The box itself stays in the body face, which is what makes --measure
|
|
395
|
+
resolve to the same width here as in a paragraph. */
|
|
395
396
|
.equation {
|
|
396
397
|
display: grid;
|
|
397
398
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
398
|
-
align-items:
|
|
399
|
+
align-items: center;
|
|
399
400
|
gap: var(--space-05);
|
|
400
401
|
margin: var(--space-06) 0;
|
|
401
402
|
line-height: 1.5;
|
|
402
403
|
}
|
|
403
404
|
|
|
404
|
-
.equation > span:not(.eq-num) {
|
|
405
|
+
.equation > span:not(.eq-num):not(.math) {
|
|
405
406
|
font-family: var(--font-mono);
|
|
406
407
|
font-size: 0.95em;
|
|
407
408
|
}
|
|
408
409
|
|
|
410
|
+
.equation > .math {
|
|
411
|
+
margin: 0;
|
|
412
|
+
min-width: 0;
|
|
413
|
+
}
|
|
414
|
+
|
|
409
415
|
.eq-num {
|
|
410
416
|
color: var(--muted);
|
|
411
417
|
font-variant-numeric: tabular-nums;
|
|
@@ -539,6 +545,9 @@ tbody tr:last-child td {
|
|
|
539
545
|
|
|
540
546
|
.refs li {
|
|
541
547
|
margin: 0 0 var(--space-04);
|
|
548
|
+
/* A cited address is longer than a phone is wide and has no space to break
|
|
549
|
+
at, so it wraps mid path rather than widening the page. */
|
|
550
|
+
overflow-wrap: anywhere;
|
|
542
551
|
}
|
|
543
552
|
|
|
544
553
|
.refs li::marker {
|
|
@@ -55,6 +55,13 @@
|
|
|
55
55
|
"example": "example/tui.html"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
|
+
"addons": {
|
|
59
|
+
"math": {
|
|
60
|
+
"css": ["math.css"],
|
|
61
|
+
"js": ["math.js"],
|
|
62
|
+
"example": "example/report.html"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
58
65
|
"tokens": {
|
|
59
66
|
"--font-sans": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif",
|
|
60
67
|
"--font-mono": "\"IBM Plex Mono\", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",
|