Skip to content

Commit 6509b95

Browse files
committed
Improve sample slides, increase table rows to 10, add marp-cli idempotency tests, update screenshots
1 parent 6c5eca6 commit 6509b95

17 files changed

Lines changed: 143 additions & 53 deletions

README.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Options:
114114
-o, --output PATH Output file or directory (default: same dir as input)
115115
-f, --format TEXT Output format: html, pdf, pptx, both (default: both)
116116
-l, --lines INTEGER Max code lines per slide before splitting (default: 30)
117-
-r, --rows INTEGER Max table rows per slide before splitting (default: 8)
117+
-r, --rows INTEGER Max table rows per slide before splitting (default: 10)
118118
--no-split Disable auto-splitting of code blocks and tables
119119
--keep-temp Keep temporary processed files for debugging
120120
-t, --theme-dir PATH Custom theme directory (overrides bundled CDL theme)
@@ -205,21 +205,35 @@ Critical information.
205205

206206
### Two-Column Layouts
207207

208+
For two-column content, wrap each column's content in a callout box for best results:
209+
208210
```html
209211
<div style="display: flex; gap: 1.5em;">
210212
<div style="flex: 1;">
211213

212-
**Left column** content with Markdown.
214+
<div class="example-box" data-title="Left topic">
215+
216+
- First point
217+
- Second point
218+
219+
</div>
213220

214221
</div>
215222
<div style="flex: 1;">
216223

217-
**Right column** content with Markdown.
224+
<div class="example-box" data-title="Right topic">
225+
226+
- First point
227+
- Second point
228+
229+
</div>
218230

219231
</div>
220232
</div>
221233
```
222234

235+
Any box type works (`tip-box`, `warning-box`, `note-box`, etc.). The boxes give columns clear visual boundaries and headers.
236+
223237
### Flow Diagrams
224238

225239
Use the ```` ```flow ```` syntax for simple pipeline diagrams:
@@ -283,7 +297,7 @@ Code blocks are automatically:
283297

284298
### Tables
285299

286-
Markdown tables are automatically split across slides if they exceed `--rows` threshold (default: 8 data rows).
300+
Markdown tables are automatically split across slides if they exceed `--rows` threshold (default: 10 data rows).
287301

288302
### Arrow Syntax
289303

-275 KB
Loading
-250 KB
Loading
-245 KB
Loading
-246 KB
Loading
-237 KB
Loading

docs/screenshots/06-math-katex.png

-259 KB
Loading
-305 KB
Loading
-379 KB
Loading

docs/screenshots/09-two-column.png

-252 KB
Loading

0 commit comments

Comments
 (0)