Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/guide/pages-routing/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,12 @@ Add classes, IDs, or attributes to any element:
# Heading {.custom-class #my-id}

Paragraph with attributes. {.note}

![Photo](/photo.png){width=640 height=360}
```

Give images `width` and `height` so the page doesn't shift while they load.

### Navigation and Media

Headings include permalink anchors. Use `[[toc]]` for a table of contents. Images are lazy-loaded, and `.md` links resolve to page routes.
Expand Down