viz.report_html

Render a report -- report.md, specs/ and stats.json, from ai.report or written by hand -- to sanitized, self-contained HTML. Numbers come from {{stat:name}} placeholders the renderer computes; figures from the bundle or from specs.

  • Kind: standard
  • Network: no
  • Memory: 8Gi

Inputs🔗

Outputs🔗

NameTypeRequiredDefaultDescription
reportdirectoryyesreport.md, optionally specs/.vl.json and stats.json.
bundledirectorynoA base.bundle output: the tables, figures and results the report cites by member name.
titlestringnoblankPage title. Blank uses the report's first heading.
NameTypeDescription
htmlfile (HTML)The report, with every figure inline and nothing loaded from anywhere.

Example🔗

- id: "@report_html"
  name: viz.report_html
  inputs: [{block: "@write_report", output: report, as: report}, {block: "@bundle", output: bundle, as: bundle}]
  args: {}