From 232fed620df134ca639a8ceb4490a3b69faa8989 Mon Sep 17 00:00:00 2001 From: florent-leborgne Date: Tue, 7 Oct 2025 19:03:46 +0200 Subject: [PATCH] Refine image markdown syntax for size attributes There needs to be a space before the = sign otherwise the specified size is ignored --- docs/syntax/images.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/syntax/images.md b/docs/syntax/images.md index ebcafdcb6..72a54fd01 100644 --- a/docs/syntax/images.md +++ b/docs/syntax/images.md @@ -80,8 +80,8 @@ For inline images, the alt text always overrides any title specified in the Mark Image sizing is specified through the title argument. You can specify just the size without needing to provide a redundant title: ```markdown -![alt](img.png "=WxH") -![alt](img.png "=W") +![alt](img.png " =WxH") +![alt](img.png " =W") ``` In this case, the alt text will be used as both the `alt` and `title` attributes, and the size parameters will be applied. @@ -91,9 +91,9 @@ In this case, the alt text will be used as both the `alt` and `title` attributes If `H` is omitted `W` is used as the height as well. ```markdown -![alt](img.png "=250x330") -![alt](img.png "=50%x40%") -![alt](img.png "=50%") +![alt](img.png " =250x330") +![alt](img.png " =50%x40%") +![alt](img.png " =50%") ```