Skip to content

xdoc-v0.23.0

Choose a tag to compare

@hustcer hustcer released this 19 Nov 09:21
· 14 commits to main since this release

v0.23.0 - 2026/11/19

Compared with v0.22.0 (80bf93e7e), through tag v0.23.0 (812138203). These notes cover CLI behavior and shared engine changes used by the CLI.

  • HTML-to-Markdown conversion now uses the embedded parser for legacy HTML normalization. If compact serialization fails, conversion continues with the decoded HTML and emits html_legacy_normalization_skipped. For example, Windows-1252 text keeps its accents when an attribute name prevents serialization. Use --report to capture the warning in batch automation and review the resulting Markdown.
  • Slide backgrounds now resolve solid and gradient theme fills referenced by p:bgRef. Layout and master references to the theme's background fill list can also resolve pictures using the selected theme's image relationships, with raster fallback when the referenced SVG is missing. Inherited backgrounds use the slide's effective color map, including for picture duotone. A slide without an explicit color-map override keeps the layout mapping.
  • An explicit p:bgRef that cannot be resolved, a reserved index (0 or 1000), or an explicit no-fill background now produces white. A missing background definition still allows inheritance. PDF output also uses white when a background gradient has no resolvable stops. When normalizing DrawingML gradient stops at the same position, the PDF renderer keeps the last authored color. PPTX-to-JSON summaries can now report a background where a theme reference previously went unresolved.
  • Classic charts using style 2, including when the style is omitted, use the effective theme's tx1 color for automatic axis lines and ticks in supported 2D Cartesian and contour charts, and for automatic radar ticks. Chart-local color mappings override the matching slide mappings. Color resolution now supports DrawingML HSL and recognized preset colors in theme slots.
  • PDF rendering preserves stroke opacity on the affected axis lines and tick marks, including supported 3D ticks. A zero-width contour axis stays hidden along with its ticks. Regenerate PDF or xdoc pptx preview output for affected slides before applying manual color or visibility workarounds.