Skip to content

Emboss v1.3.0

Choose a tag to compare

@vouchagent vouchagent released this 09 Aug 06:30
· 15 commits to main since this release

Added

  • HTML/CSS import: Document.from_html(html, **kw) compiles a bounded, report-template subset of HTML/CSS into a Document -- a migration path for existing HTML-based document pipelines. Stdlib-only parser; a real CSS cascade (tag/class/id specificity, descendant combinators, comma-separated selectors, inline-style override, custom properties with var()/fallback resolution); tags for headings, paragraphs, lists (nested), tables (colspan), images (local paths and data: URIs), links, inline formatting, and blockquotes; a display: flex row compiles to the new Columns block.
  • Columns block: side-by-side content regions, each an independent block flow (paragraphs, headings, lists, tables, images, even nested Columns), rendered as one atomic row sized to its tallest column. Wired through every export adapter (HTML, Markdown, DOCX) and the Pydantic LLM schema.
  • SVG completeness fixes: <tspan> multi-line/positioned text, real embedded-font text metrics (Source Sans/Serif/Code) in place of base-14 approximation, stroke-dasharray/stroke-dashoffset, <symbol> viewBox scaling in <use>, and marker-start/marker-end arrowheads oriented along the true path tangent.

See CHANGELOG.md for full details.