Repository navigation
Emboss v1.3.0
Added
- HTML/CSS import:
Document.from_html(html, **kw)compiles a bounded, report-template subset of HTML/CSS into aDocument-- 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 withvar()/fallback resolution); tags for headings, paragraphs, lists (nested), tables (colspan), images (local paths anddata:URIs), links, inline formatting, and blockquotes; adisplay: flexrow compiles to the newColumnsblock. Columnsblock: side-by-side content regions, each an independent block flow (paragraphs, headings, lists, tables, images, even nestedColumns), 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>, andmarker-start/marker-endarrowheads oriented along the true path tangent.
See CHANGELOG.md for full details.