Data reports written in Markdown.
Charts and tables next to the text that explains them, in HTML and in paged PDF.
Récit report turns a Markdown story and its data files into a report. Every number on the page
comes from the data, never from the text: change the CSV, rebuild, and the prose, the charts and the
tables follow. The report below is one, compiled from
examples/.
The report format
Numbers from the data
:value computes a sum, an average or a growth from a CSV, JSON or YAML source at build time.
Charts without a DOM
::chart draws a line, bar, area, dot, heatmap, scatter or map chart as SVG during the build, with the data table under it.
One source, two outputs
The same story gives a continuous web page with its table of contents and a tagged PDF.
Report to deck
recit convert --to deck makes slides of a report, one per section, the data directives kept.
Typed JSON twin
Every report has a typed JSON form, checked by its schema and convertible both ways.
MCP server
describe_data shows an agent the columns of a source before it writes a :value.
Start a report
Create a report
10 srecit init --writes a starterformat report report.mdand itsdata/.sample.csv BashPreview with live reload
1 minrecit devshows the page and refreshes it when the story or a data file changes.BashBuild and print
30 srecit buildwrites a static page;recit export --prints the same report.to pdf Bash
The full syntax is specified on docs.recit.dev.