# From a report to a deck

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.

```bash
npx recit convert quarterly.story.md --to deck -o quarterly-deck.md
```

| Report                                     | Deck                                              |
| ------------------------------------------ | ------------------------------------------------- |
| `meta`, `data`                             | the same                                          |
| a section                                  | a slide, same `id`                                |
| `:value`, `::chart`, `::table`, `:::kpi`   | kept as they are                                  |
| a `::table` of more than 8 rows            | `limit=8`, with a warning                         |
| a `::chart` beside a `:::kpi` or `::table` | its own slide, `<id>-chart`, under the same title |
| prose a slide cannot hold                  | an error with its line, never an invented summary |
| `toc`, `numbering`, `interactive`, `pdf`   | dropped, with a warning                           |

The quarterly report of the [gallery](/report/gallery), as the bridge writes it:

<StoryEmbed slug="report/quarterly-deck" format="deck" />

<SourceFile deck="report/quarterly-deck" title="stories/quarterly-deck.md" />
