---
title: Markdown
description: Lists, tables and inline code styled like Codex's rendered answers.
---

<Component path="codex/examples/codex-markdown" />

<RegistryInstall name="codex-markdown" />

Put these inside an assistant `CodexMessage`. `CodexList` draws `•` bullets with a hanging indent. `CodexTable` is built on the shadcn `Table` primitives, with bold yellow headers, a heavier rule under the header, thin gray rules between rows and gaps between the columns. Other props go to the `Table`. `CodexCode` colors inline code green.

| Prop | Default | Description |
| --- | --- | --- |
| `headers` | | `CodexTable` column headers. |
| `rows` | | `CodexTable` rows, one array of cells per row. |
| `codeColumns` | `[]` | `CodexTable` column indexes to color like code. |
| `items` | | `CodexList` items. |

## Used in

**[Codex](/blocks/codex)**

A full recreation of an OpenAI Codex CLI session, from the banner to the pinned prompt.
