Article Format
How the body field of each article section is structured.
The body field of each item in sections contains Markdown. Use a markdown renderer (like react-markdown) to display it — don't treat it as plain text or raw HTML.
The body can contain:
- Bold text and italic text
- Bullet lists and numbered lists
- Inline links to sources
- Blockquotes
- Paragraphs separated by blank lines
Legacy citation tags
Articles generated before this notice may also contain custom <cite index="...">...</cite> tags wrapping cited claims. These are not standard Markdown, and a plain react-markdown render will leave them as literal text — strip them (for example with a regex) or render them yourself before displaying. Newly generated articles no longer include these tags.
Rendering example
tsx
import ReactMarkdown from 'react-markdown';
function stripLegacyCiteTags(markdown: string) {
return markdown.replace(/<\/?cite[^>]*>/g, '');
}
function ArticleSection({ body }: { body: string }) {
return (
<div className="prose max-w-none">
<ReactMarkdown>{stripLegacyCiteTags(body)}</ReactMarkdown>
</div>
);
}