@datafe-open/markdown-chart
v0.1.1
Published
Framework-neutral registry and lifecycle controller for JSON charts in Markdown
Readme
@datafe-open/markdown-chart
Framework-neutral renderer registry, canonical markdown-chart fence router,
strict JSON parser, and one-container chart lifecycle controller. Canonical
inline datasets and renderer-materialized referenced datasets receive a
built-in Chart/Data switch and bounded data table.
The switch uses accessible chart/table icons and Qwen Code WebShell-inspired
card styling. Hosts can override --markdown-chart-background,
--markdown-chart-subtle-background, and --markdown-chart-accent.
See Third-party notices for source attribution and
license details.
Canonical envelopes keep data separate from renderer-owned spec.
parseMarkdownChartEnvelope() exposes validated inline or referenced data so a
host can inspect the same rows without loading the renderer.
ChartRenderRequest.streaming is block-level pending state. Markdown adapters
defer only an unterminated tail fence; completed blocks remain mounted while
the surrounding document continues streaming.
