@markdstage/markdstage 3.0.0 → 3.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markdstage/markdstage",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "Present, validate, inspect, capture, and export MarkdStage Markdown decks from the command line — no Copilot canvas required.",
5
5
  "license": "MIT",
6
6
  "author": "runceel",
package/shared/README.md CHANGED
@@ -93,11 +93,18 @@ The themed slide is displayed and updates automatically
93
93
  produces a 16:9 PDF with backgrounds, images, highlighted code, and Mermaid.
94
94
  - **Hybrid editable PowerPoint export is available from More controls > Export
95
95
  PowerPoint.** It
96
- preserves supported text, lists, links, tables, raster images, and Architecture
97
- DSL objects as native PowerPoint content. Architecture nodes, groups, and
98
- connector-label pills are visible AutoShapes with integrated text; icons use a
99
- transparent foreground picture layer. Mermaid and unsupported styling stay
100
- visible as background artwork and are listed in the export report. Speaker
96
+ preserves supported text, lists, links, tables, fenced code blocks, raster
97
+ images, and Architecture DSL objects as native PowerPoint content. Code blocks
98
+ retain editable syntax-colored runs, whitespace, monospace typography, and
99
+ block decoration; unsupported effects such as shadows remain cropped fallback
100
+ pictures. Architecture nodes, groups, and connector-label pills are visible
101
+ AutoShapes with integrated text; icons use a transparent foreground picture
102
+ layer. Supported SVG files remain individual pictures. Mermaid, shadows, and
103
+ other unsupported styling stay visible as cropped, positioned fallback
104
+ pictures and are listed in the export report. Each theme used in the deck gets
105
+ its own slide master with named `title`, `default`, `center`, `section`, and
106
+ `backcover` layouts. Common backgrounds and top bars are stored in layout
107
+ artwork; supported cover logos are separate layout pictures. Speaker
101
108
  notes are converted from Markdown to readable plain text in the corresponding
102
109
  PowerPoint notes pane. AI may call `export_pptx` with another
103
110
  workspace-confined `.pptx` path.
@@ -995,7 +1002,7 @@ fails with `invalid_input`; pass the complete `slides` array or call
995
1002
  | `inspect_layout` | `{ index?: number, includeFits?: boolean }`. Render the registered in-memory PDF snapshot with the fixed 1280×720 output layout; this does not inspect the source file on disk. Omit `index` for one preferred whole-deck inspection. Serialize targeted calls because PDF, layout, and PNG jobs are exclusive. By default, return only clipped pages; `includeFits` includes successful pages. Returns dimensions, issue counts, overflow measurements, nested scroll containers, and a bounded list of element hints. Requires Edge, Chrome, or Chromium. |
996
1003
  | `capture_slides` | `{ indexes?: number[], outputDirectory?: string, theme?: "dark" | "light" | "microsoft" | "custom" }`. Generate PDF-equivalent 1280×720 PNGs for at most 10 zero-based indexes. When `indexes` is omitted, inspect the deck and capture only clipped pages. Paths stay inside the workspace; results contain paths and layout summaries, not image bytes. Requires Edge, Chrome, or Chromium. |
997
1004
  | `export_pdf` | `{ outputPath?: string, theme?: "dark" | "light" | "microsoft" | "custom" }`. Export one 16:9 page per slide. Relative paths use workspace root; default is `markdstage.pdf`. Theme affects PDF only. Reject paths outside workspace and non-`.pdf` files. Temporary slide replacement and the automatic back cover are included. Returns `{ ok, path, total, theme, bytes }`. Requires Edge, Chrome, or Chromium. |
998
- | `export_pptx` | `{ outputPath?: string, theme?: "dark" | "light" | "microsoft" | "custom" }`. Export a hybrid editable 16:9 PowerPoint deck. Supported text, lists, links, tables, raster images, and Architecture DSL objects remain native. Speaker-note Markdown is exported as readable plain text in the corresponding PowerPoint notes pane. Architecture nodes, groups, and connector-label pills are visible AutoShapes with integrated text; icons are foreground pictures. Mermaid and unsupported visuals become reported background fallbacks. Relative paths use workspace root; default is `markdstage.pptx`. Reject paths outside workspace and non-`.pptx` files. Temporary slide replacement and the automatic back cover are included. Returns `{ ok, path, total, theme, bytes, format, fallbackCount, fallbacks }`. Requires Edge, Chrome, or Chromium. |
1005
+ | `export_pptx` | `{ outputPath?: string, theme?: "dark" | "light" | "microsoft" | "custom" }`. Export a hybrid editable 16:9 PowerPoint deck. Supported text, lists, links, tables, fenced code blocks, raster images, and Architecture DSL objects remain native. Code blocks preserve syntax-colored editable runs, whitespace, monospace typography, and block decoration; unsupported effects such as shadows remain reported background fallbacks. Speaker-note Markdown is exported as readable plain text in the corresponding PowerPoint notes pane. Architecture nodes, groups, and connector-label pills are visible AutoShapes with integrated text; icons are foreground pictures. Mermaid and unsupported visuals become reported background fallbacks. Relative paths use workspace root; default is `markdstage.pptx`. Reject paths outside workspace and non-`.pptx` files. Temporary slide replacement and the automatic back cover are included. Returns `{ ok, path, total, theme, bytes, format, fallbackCount, fallbacks }`. Requires Edge, Chrome, or Chromium. |
999
1006
  | `edit_architecture` | `{ enabled: boolean }`. Toggle placement editing. Imported decks also write to the source fence; direct decks write to canvas state. Presenter/print omit UI. Mode is not persisted and `reset` disables it. Returns `{ ok, enabled, version }`. |
1000
1007
  | `reset` | No input. Clear deck/slide state, disable editing, and return to the waiting view. |
1001
1008