Skip to content

docs(md): show width and height on Markdown images - #1021

Merged
cpojer merged 1 commit into
mainfrom
docs/md-image-attributes
Dec 3, 2026
Merged

cpojer merged 1 commit into
mainfrom
docs/md-image-attributes

Conversation

@hyfdev

@hyfdev hyfdev commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Refs #1010.

Markdown images already accept attributes, so ![Photo](/photo.png){width=640 height=360} renders an <img> with both sizes.

The guide only showed attributes on headings and paragraphs.

It now shows an image too, with one sentence on why the sizes help.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Cloudflare builds and deploys previews for this pull request. Learn more about Cloudflare previews.

Worker Status Deployment Commit
void-cloud Deployed Preview 1e6f7df

Updated: Dec 3, 2026, 08:04 UTC | Dashboard

@cpojer
cpojer marked this pull request as ready for review December 3, 2026 08:19
@cpojer
cpojer merged commit 695623c into main Dec 3, 2026
13 checks passed
@cpojer
cpojer deleted the docs/md-image-attributes branch December 3, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants