Skip to content

flux-md v0.10.0

Choose a tag to compare

@siinghd siinghd released this 30 May 17:08

SSR-safe + an opt-in structured block.data channel.

  • new FluxClient() / renderToString(<FluxMarkdown/>) are server-safe (worker creation deferred to first append/pipeFrom) across React/Vue/Solid/Svelte.
  • blockData: true (per-stream config, default off → byte-identical output) emits typed structured data on block.kind.data, surfaced as typed BlockComponentProps fields, streaming in lock-step with the HTML:
    • Table {headers,rows,aligns} · Heading {level,text,id} · CodeBlock {lang,code} · MathBlock {latex} · List {ordered,start}
    • Build toolbars / TOCs / charts / copy buttons from data, no HTML re-parse.

Full notes: packages/flux-md/CHANGELOG.md