mirror of
https://github.com/kovetskiy/mark.git
synced 2026-05-01 21:02:33 +00:00
Add width keyword for html comment
This commit is contained in:
@@ -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
|
||||
<!-- 300 -->
|
||||
<!-- width=300 -->
|
||||
```
|
||||
The width will be the commented html after the image (in this case 300px).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user