@markdstage/markdstage 3.3.0 → 3.8.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/src/deck.mjs CHANGED
@@ -21,10 +21,14 @@ export async function withDeckServer(options, run) {
21
21
  log: options.log,
22
22
  });
23
23
  const server = await startPresentationServer(session, {
24
+ application: options.application,
25
+ exporters: options.exporters,
26
+ initialSourceMode: options.initialSourceMode,
24
27
  token,
25
28
  onLog: options.log,
26
29
  editable: options.watch === true,
27
30
  presenter: options.presenter,
31
+ watcherFactory: options.watcherFactory,
28
32
  });
29
33
  try {
30
34
  return await run(session, server);
package/src/skills.mjs CHANGED
@@ -82,7 +82,7 @@ what the MarkdStage canvas and MarkdStage Desktop render.
82
82
  \`markdstage validate slides.md --json\`. Review diagnostic codes, JSON Pointers,
83
83
  and completeness, fix independent issues together, and preserve the same
84
84
  validated content when presenting. Suggestions are never automatic repairs.
85
- 5. Use \`markdstage preview slides.md --watch\` for live source-backed authoring.
85
+ 5. Use \`markdstage slides.md\` for live source-backed authoring.
86
86
  It reloads on save without losing the current slide and keeps the last valid
87
87
  deck while a save is incomplete.
88
88
  6. Check fixed 16:9 output with \`markdstage inspect slides.md --json\`. Use
@@ -96,11 +96,13 @@ what the MarkdStage canvas and MarkdStage Desktop render.
96
96
  \`markdstage export slides.md --output slides.pdf\`, or
97
97
  \`markdstage export slides.md --output slides.pptx\`.
98
98
 
99
- The browser in \`preview --watch\` starts in viewing mode. The user can activate
100
- the pencil control to move Architecture elements, then choose **Advanced edit**
101
- for the detailed designer. Placement changes save immediately, while the
102
- detailed designer saves only when the user selects **Save**. \`preview\` without
103
- \`--watch\` is read-only.
99
+ The browser in \`markdstage slides.md\` starts in viewing mode on the fixed 16:9
100
+ output surface. **Output preview** switches to the retained responsive layout.
101
+ The user can activate the pencil control to switch to the responsive layout and
102
+ move Architecture elements, then choose **Advanced edit** for the detailed
103
+ designer. Placement changes save immediately, while the detailed designer saves
104
+ only when the user selects **Save**. Automatic refresh can be toggled from the
105
+ same UI without disabling Architecture editing.
104
106
 
105
107
  Never hand-write HTML or CSS for a slide. Fix layout problems by shortening the
106
108
  content or by changing the layout in front matter. Prefer structured validation
@@ -110,8 +112,10 @@ and layout diagnostics over capturing every slide.
110
112
 
111
113
  | Command | Purpose |
112
114
  | --- | --- |
113
- | \`markdstage present <file> [--watch]\` | Open presenter view with the current slide, next-slide preview, speaker notes, and controls for a synchronized audience window. |
114
- | \`markdstage preview <file> [--watch]\` | Serve the deck on loopback and open it in a browser window. \`--watch\` reloads on save, keeps the current slide, and enables Architecture placement and detailed editing. Without it, the source is read-only. |
115
+ | \`markdstage\` | Open an empty Canvas-equivalent UI and choose Markdown from the workspace. |
116
+ | \`markdstage <file>\` | Open the full UI in live slide view with automatic refresh, editing, presenting, and UI export. |
117
+ | \`markdstage present <file> [--watch]\` | Open the same full UI in presenter view; \`--watch\` enables automatic refresh initially. |
118
+ | \`markdstage preview <file> [--watch]\` | Open the same full UI in slide view; \`--watch\` enables automatic refresh initially. |
115
119
  | \`markdstage validate <file> [--json]\` | Check deck structure, Architecture DSL blocks, and themes. |
116
120
  | \`markdstage inspect <file> [--json]\` | Report 1280x720 clipping diagnostics for the deck or one slide; use \`--fail-on-issues\` for quality gates. |
117
121
  | \`markdstage capture <file> [--pages 2,4]\` | Write 1280x720 PNG files; without \`--pages\` only clipped slides are captured. |