dmc-codegen 0.1.0

HTML and MDX body emitters for the dmc compiler
Documentation

Codegen layer: turn a parsed Document into renderable output.

Two emitters live here:

  • [HtmlEmitter] - static HTML (SSR / SSG output).
  • [MdxBodyEmitter] - JS body for MDX runtime React rendering.

Both implement [NodeSink]. A single [Walker] does one pre-order DFS, fanning each node to every active sink - no N tree traversals.