Markdown Syntax
Every standard Markdown element rendered by marknative. Each section shows the Markdown source and the actual rendered PNG output.
Headings
All six heading levels — H1 through H6. H1–H4 render at distinct sizes; H5 and H6 share the H4 style.
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6Inline Styles
Bold, italic, strikethrough, inline code, and links.
**Bold text** stands out from surrounding prose.
*Italic text* adds emphasis without weight.
***Bold and italic*** applies both simultaneously.
~~Strikethrough~~ marks removed content.
`inline code` renders in monospace.
[A hyperlink](https://example.com) navigates to a URL.Unordered List
Bullet lists with unlimited nesting depth.
- Item
- Item with **bold**
- Nested item
- Doubly nested
- Back to level 2
- Final itemOrdered List
Numbered lists with nested sub-steps.
1. Step one
2. Step two
1. Sub-step
2. Sub-step
3. Step threeTask List
GFM task lists with checked and unchecked items.
- [x] Done
- [x] Also done
- [ ] Not yet
- [ ] PendingBlockquote
Single-level and nested blockquotes.
> Simple quote
> **Bold** inside a quote.
> With *italic* too.
> Outer
>
> > Inner nested quoteCode Block
Fenced code blocks with syntax-highlighted language tags.
```typescript
const pages = await renderMarkdown(md)
```
```bash
bun add marknative
```Table
GFM tables with left, center, and right column alignment.
| Name | Type | Default |
| :--------- | :-----: | ------: |
| format | string | 'png' |
| singlePage | boolean | false |Image
Block-level images fetched from remote HTTP URLs.
Thematic Break
Horizontal rules — ---, ***, and ___ all render identically.
Above
---
Middle
***
BelowFull Syntax Fixture
The complete multi-page fixture combines every supported Markdown element in one render, including syntax-highlighted fenced code blocks.










