diff --git a/README.md b/README.md index 13d1902..947db8a 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Image with max-width constraint. `width` defaults to `500px`: ```md -{% img(src="./diagram.png", alt="Architecture", width="600px") %} +{{ img(src="./diagram.png", alt="Architecture", width="600px") }} ``` Figure caption: diff --git a/sass/style.scss b/sass/style.scss index 29f81ea..6b4605f 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -80,6 +80,7 @@ img { max-width: 100%; height: auto; margin: 0 auto; + border-radius: 4px; } figcaption { @@ -172,7 +173,7 @@ code { font-size: 0.88em; background: var(--code-bg); padding: 0.1em 0.3em; - border-radius: 3px; + border-radius: 4px; } pre {