Commit Graph
4 Commits
Author SHA1 Message Date
ldm0 e6c83eb899 refactor(markdown): unify output ownership and table state
Use concrete Output and Cow parameters with conversions at call sites. Merge text fragments and keep table cell lifecycle and complexity checks inside Table.

Validation: cargo fmt --all; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo nextest run --no-fail-fast (18,114 passed, 13 skipped).
2026-09-16 21:01:02 +08:00
ldm0 d7f9f894eb feat(markdown): render simple HTML tables as GFM
Synthesize empty headings for simple headerless tables and keep complex tables readable as blocks. Use owned output fragments to avoid repeated copying through nested fallback tables.

Cover escaping, alignment, layouts, CLI output and linear copy growth. Validated with cargo fmt, workspace Clippy, and 18,114 passing nextest tests (13 skipped).
2026-09-16 20:45:38 +08:00
ldm0 ae10292ea4 fix(markdown): preserve inline code breaks and nested emphasis 2026-09-16 16:07:15 +08:00
ldm0 61dbf7ea3e feat(markdown): introduce moli-html2md 2026-09-16 16:07:15 +08:00