presi-slides 1.0.8 → 1.0.10

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.
@@ -329,6 +329,7 @@ slide-view {
329
329
  max-height: 100%;
330
330
  justify-self: center;
331
331
  align-self: stretch;
332
+ grid-column: 1/-1;
332
333
  }
333
334
 
334
335
  &.max25vh > img:only-child {
@@ -798,6 +799,7 @@ slide-view:not(:has(h1[layout])) {
798
799
  --slide-header-template: "h h h h i i i i i i i i";
799
800
  --slide-body-template: "h h h h i i i i i i i i"
800
801
  "b b b b b b b b b b b b";
802
+ --grid-content-rows: minmax(min-content,40%) minmax(60%, 1fr);
801
803
  }
802
804
 
803
805
  &:has(p:where(:first-child, :is(h1, header):first-of-type + *) + pre) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "presi-slides",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "Make slides with Markdown",
5
5
  "keywords": [
6
6
  "Presentation",
package/public/slides.css CHANGED
@@ -129,7 +129,8 @@ blockquote {
129
129
  }
130
130
 
131
131
  p.center,
132
- td.center {
132
+ td.center,
133
+ code.center {
133
134
  text-align: center;
134
135
  }
135
136
 
@@ -329,6 +330,7 @@ slide-view {
329
330
  max-height: 100%;
330
331
  justify-self: center;
331
332
  align-self: stretch;
333
+ grid-column: 1/-1;
332
334
  }
333
335
 
334
336
  &.max25vh > img:only-child {
@@ -798,6 +800,7 @@ slide-view:not(:has(h1[layout])) {
798
800
  --slide-header-template: "h h h h i i i i i i i i";
799
801
  --slide-body-template: "h h h h i i i i i i i i"
800
802
  "b b b b b b b b b b b b";
803
+ --grid-content-rows: minmax(min-content,40%) minmax(60%, 1fr);
801
804
  }
802
805
 
803
806
  &:has(p:where(:first-child, :is(h1, header):first-of-type + *) + pre) {
@@ -2,7 +2,7 @@
2
2
  title: Sample Presi
3
3
  ---
4
4
 
5
- # Sample Presi
5
+ # Sample Presi {layout="title"}
6
6
 
7
7
  ---
8
8
 
@@ -61,4 +61,25 @@ title: Sample Presi
61
61
  - nothing special here
62
62
 
63
63
  ---
64
- tags: #slides
64
+ # Slide 5
65
+
66
+ ![](assets/image%207.png) {.full}
67
+
68
+ ---
69
+ # Slide 6
70
+
71
+
72
+ ![](assets/image%203.png){.full}
73
+
74
+ <!-- symmetry between Request and Response -->
75
+
76
+ | | Request | Response |
77
+ | --- | --- | --- |
78
+ | Start | `GET /en-US/docs/… HTTP/1.1` | `HTTP/1.1 404 Not Found` |
79
+ | Headers | `User-Agent: Mozilla/5.0…` | `Content-Type: application/json` |
80
+ | Body | `<!DOCTYPE html> <html lang="en"> … </html>` | `{"squadName": "SuperHeroSquad", …}` |
81
+
82
+
83
+
84
+ ---
85
+ tags: #slides