diff --git a/README.md b/README.md index fe70ac9..0239822 100644 --- a/README.md +++ b/README.md @@ -494,6 +494,22 @@ This is a [link to an existing confluence page](ac:Pagetitle) And this is how to link when the linktext is the same as the [Pagetitle](ac:) ``` +### Add width for an image + +Use the following macro: +```markdown + +``` +And attach any image with the following +```markdown +![Example](../images/example.png) +``` +The width will be the commented html after the image (in this case 300px). + + ## Installation ### Homebrew diff --git a/pkg/mark/stdlib/stdlib.go b/pkg/mark/stdlib/stdlib.go index b328e2d..f4d9391 100644 --- a/pkg/mark/stdlib/stdlib.go +++ b/pkg/mark/stdlib/stdlib.go @@ -218,7 +218,7 @@ func templates(api *confluence.API) (*template.Template, error) { ``, ), `ac:image`: text( - ``, + ``, ), /* https://confluence.atlassian.com/doc/widget-connector-macro-171180449.html#WidgetConnectorMacro-YouTube */