Markdown
Rendered markdown behind a Preview | Markup toggle, with copy and expand controls. The active pane lives in a keyed Jotai atom so an app can flip a card by id.
Preview
Use the controls to explore the component's props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
source (required) | string | — | Markdown text (headings, paragraphs, lists, inline and fenced code). |
markdownId | string | — | Stable id for the view atom; unnamed cards use useId(). |
view / defaultView / onViewChange | "preview" | "markup" | — | Controlled or uncontrolled pane. |
onCopy / onExpand | (source) => void / () => void | — | Header icon buttons. |
bare | boolean | false | Drop the card border. |
Example
import { Markdown } from "@exegia/corpora-ui"
<Markdown source={answer} onCopy={(md) => navigator.clipboard.writeText(md)} />Last updated on
Chart
Pie, area, line and bar charts for corpus research, with a passage or Strong’s reference pill, plot and legend. Series colours come from the --chart-series-1…5 tokens, grid from --chart-grid.
Research answer
Answer card with a kicker, the content, stacked Source / Date / Author(s) rows and an actions row: Copy citation, Share, Add to list.