You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/marp-markdown.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,8 +49,8 @@ CLI options, theme CSS loading, template usage, and PPTX rendering behavior. The
49
49
| Marpit | Spot directives with `_` prefix | Apply a local directive to one slide only | Supported | All recognised directive keys work with a `_` prefix (e.g. `_class`, `_paginate`, `_backgroundColor`, `_color`). Spot directives apply to the current slide only and do not carry forward to subsequent slides. |
50
50
| Marpit |`headingDivider`| Split slides before headings automatically | Supported subset | Parsed from front matter as an integer 1–6; slides are split before headings at or above that level. |
51
51
| Marpit | Header / footer directives | Per-slide repeated content | Supported |`header` and `footer` string values are stored in `SlideStyle` and emitted into PPTX text shapes on each slide. |
52
-
| Marpit | Extended image syntax | Width, height, filters, `bg`, split backgrounds | Partially supported | Normal Markdown images are parsed; `` is promoted to a slide background. Other Marpit image keywords (width, height, percentage, split) are treated as alt text with no effect on sizing or layout. |
53
-
| Marpit | Background image syntax via image alt text |`` and related | Supported subset |`` sets the slide background image. Modifiers in the alt text (`bg cover`, `bg contain`, `bg left`, `bg right`, percentage sizing) are not yet parsed; the image is always rendered full-bleed. A `backgroundImage` directive on the same slide takes precedence over ``. See [Background Image Precedence](#background-image-precedence) below. |
52
+
| Marpit | Extended image syntax | Width, height, filters, `bg`, split backgrounds | Partially supported | Normal Markdown images are parsed; `` is promoted to a slide background. Marpit width/height/percentage sizing keywords (`w:`, `h:`, `N%`) are parsed and applied. Alignment keywords `left`/`right` are parsed and affect image placement within the content frame. Split backgrounds (`![bg left]`, `![bg right]`) are supported and render each image in its respective slide half. Other modifiers (filters, `bg cover`, `bg contain`, percentage-sized backgrounds) are not yet implemented. |
53
+
| Marpit | Background image syntax via image alt text |`` and related | Supported subset |`` sets the slide background image (always full-bleed). `` and `` render the image in the left or right half of the slide respectively (split background layout). A `backgroundImage` directive on the same slide takes precedence over plain ``. Other modifiers (`bg cover`, `bg contain`, percentage sizing in the alt text) are not yet parsed. See [Background Image Precedence](#background-image-precedence) below. |
54
54
| Marpit | Fragmented lists | Incremental list reveal | Not supported | No fragment model in parser or renderer. |
55
55
| Marpit | Theme CSS | CSS-driven slide theming | Supported subset | CSS extraction for fonts, sizes, colors, padding, background, line-height, letter-spacing, text-transform, font-weight, and code style. See the CSS property reference below. |
56
56
| Marp Core | Built-in theme names | Themes such as `default`, `gaia`, `uncover`| Name-only unless CSS is supplied | Theme name is stored, but real styling comes from parsed CSS or defaults. |
0 commit comments