You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix inline image resize parameter to require space before = when title present (#2017)
* Initial plan
* Update regex to make space before = optional in image sizing
Co-authored-by: reakaleek <[email protected]>
* Update tests and documentation for flexible image sizing syntax
Co-authored-by: reakaleek <[email protected]>
* Require space before = when title is present, optional when no title
Co-authored-by: reakaleek <[email protected]>
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: reakaleek <[email protected]>
Co-authored-by: Jan Calanog <[email protected]>
Copy file name to clipboardExpand all lines: docs/syntax/images.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,13 @@ If `H` is omitted `W` is used as the height as well.
96
96

97
97
```
98
98
99
+
When specifying just the size without a title, no space is required before the `=` sign. When combining a title with sizing, a space is required before the `=`:
100
+
101
+
```markdown
102
+
 <!-- Just size, no space needed -->
103
+
 <!-- With title, space required -->
0 commit comments