Markdown Guide
A complete reference for markdown syntax. Every example works in Dillinger — open the editor and try them.
Open the Editor to try these examplesHeadings
Use hash symbols to create headings. One hash for the largest heading, up to six for the smallest.
# Heading 1
## Heading 2
### Heading 3Text Formatting
Wrap text in asterisks or underscores for emphasis. Double for bold, single for italic, tildes for strikethrough.
**bold** or __bold__
*italic* or _italic_
~~strikethrough~~
***bold italic***Links
Square brackets for the display text, parentheses for the URL. Add a quoted string for a hover title.
[Link text](https://example.com)
[Link with title](https://example.com "Title")Images
Same as links but with an exclamation mark prefix. Always include alt text for accessibility.

Unordered Lists
Use dashes, asterisks, or plus signs. Indent with two spaces for nested lists.
- Item one
- Item two
- Nested item
- Another nestedOrdered Lists
Number followed by a period. The actual numbers do not matter — markdown will renumber automatically.
1. First item
2. Second item
3. Third itemTask Lists
Add square brackets after the list marker. Use x for completed items.
- [x] Completed task
- [ ] Incomplete taskBlockquotes
Prefix lines with a greater-than symbol. Nest by adding more symbols.
> This is a quote.
>
> It can span multiple lines.Inline Code
Wrap text in single backticks for inline code formatting.
Use `backticks` for inline code.Code Blocks
Use triple backticks with an optional language identifier for syntax-highlighted code blocks.
```javascript
const x = 42;
console.log(x);
```Tables
Use pipes and hyphens to create tables. Colons in the separator row control alignment.
| Header | Header |
|--------|--------|
| Cell | Cell |
| Cell | Cell |Horizontal Rules
Three or more hyphens, asterisks, or underscores on a line create a horizontal rule.
---
***
___Footnotes
Reference footnotes with bracketed caret notation. Define them anywhere in the document.
Text with a footnote[^1].
[^1]: This is the footnote content.Math (KaTeX)
Dillinger supports KaTeX math rendering. Use single dollars for inline, double for block equations.
Inline: $E = mc^2$
Block:
$$
\\sum_{i=1}^{n} i
$$Try it live
Dillinger renders all of these formats in real time. Paste any example into the editor and see the preview instantly.