The bridge from a report to a deck is closed: each section becomes a slide with the same id, and
the data directives stay as they are, so the slide computes the same numbers from the same data.
npx recit convert quarterly.story.md --to deck -o quarterly-deck.md
The quarterly report of the gallery, as the bridge writes it:
---
title: Lorem Ipsum Quarterly, as slides
description: Revenue, orders and regions of Lorem Ipsum, computed from the data at build time.
date: 2026-12-31
lang: en
data:
sales: ../../../../examples/report-quarterly/data/sales.csv
regions:
src: ../../../../examples/report-quarterly/data/regions.json
columns:
name: string
revenue: number
growth: number
targets: ../../../../examples/report-quarterly/data/targets.yaml
---
--- id=summary
## Summary
Revenue reached :value{data=sales field=revenue agg=sum where="month=2026-12" format=currency currency=EUR} in the last month, and moved by :value{data=sales field=revenue agg=growth by=month period=quarter format=percent} over the previous quarter. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
:::kpi
- :value{data=sales field=revenue agg=sum format=compact} Revenue, two years
- :value{data=sales field=orders agg=sum} Orders
- :value{data=regions agg=count} Regions
:::
--- id=summary-chart
## Summary
::chart{data=sales type=line x=month y=revenue color=region title="Monthly revenue by region"}
--- id=regions
## Regions
Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. The largest region is :value{data=regions field=name agg=first}.
::table{data=regions columns="name,revenue,growth" sort=-revenue format="revenue=currency,growth=percent" currency=EUR rename="name=Region,revenue=Revenue,growth=Growth" caption="Revenue of the last twelve months" limit=8}
:::callout{type=info}
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.
:::
--- id=regions-chart
## Regions
::chart{data=regions type=bar x=name y=revenue title="Revenue by region"}
--- id=targets
## Targets
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.
::table{data=targets format="target=currency" currency=EUR rename="year=Year,target=Target,reached=Reached" caption="Yearly targets" limit=8}