mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-24 05:42:40 +08:00
Add width keyword for html comment
This commit is contained in:
parent
e0222ae6bd
commit
24aa73e243
@ -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).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user