# Formatting your cards

Cards support Markdown, LaTeX math, syntax-highlighted code blocks, and custom HTML widgets. Write the front and back of each card using any combination of these.

## Markdown basics

```markdown
**Bold**, *italic*, `inline code`, and [links](https://example.com).

- Bullet lists
- Numbered lists
- > Blockquotes

## Headings
```

Standard Markdown works on both the front and back of a card. Cards are rendered with a sane sanitizer, so script tags are stripped — but a wide variety of HTML and Tailwind classes pass through.

## Where to go next

- [Widgets: terminal & code](/resources/widgets) for richer card content.
- [Math (KaTeX)](/resources/math) for equations.
- [Custom HTML](/resources/custom-html) for fully custom layouts.
