-
HTML: Create slides (720pt x 405pt). Text MUST be in
<p>,<h1>-<h6>, or<ul>. -
Visuals: You MUST rasterize gradients/icons as PNGs using Sharp FIRST. Reference:
references/html2pptx.md. -
Execution: Run
html2pptx.jsto generate the presentation.
-
Audit: Generate thumbnail grid (
scripts/thumbnail.py) to analyze layout. -
Duplication: Use
scripts/rearrange.pyto duplicate and reorder slides. -
Text Injection: Use
scripts/replace.pywith the JSON inventory to populate content.
-
Fonts: You MUST use web-safe fonts ONLY (Arial, Helvetica, Georgia).
-
Colors: You MUST NOT use the
#prefix in PptxGenJS hex codes (causes corruption). -
Layout: You SHOULD prefer two-column or full-slide layouts. You MUST NOT stack charts below text.
-
Verification: You MUST generate a final thumbnail grid with
--cols 4to inspect for text cutoff or overlap issues.