Add width keyword for html comment

This commit is contained in:
Fethbita 2023-02-13 16:46:06 +02:00 committed by GitHub
parent e0222ae6bd
commit 24aa73e243
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -498,14 +498,14 @@ And this is how to link when the linktext is the same as the [Pagetitle](ac:)
Use the following macro:
```markdown
<!-- Macro: \!\[.*\]\((.+)\)\<\!\-\- (.*) \-\-\>
<!-- Macro: \!\[.*\]\((.+)\)\<\!\-\- width=(.*) \-\-\>
Template: ac:image
Attachment: ${1}
Width: ${2} -->
```
And attach any image with the following
```markdown
![Example](../images/example.png)<!-- 300 -->
![Example](../images/example.png)<!-- width=300 -->
```
The width will be the commented html after the image (in this case 300px).