Skip to content

Commit c6eb40c

Browse files
authored
Merge pull request #253 from kkmuffme/remove-exclamation-mark-to-avoid-confusion-252
Remove ! which people assume is part of the markup
2 parents 5293498 + 0447b0e commit c6eb40c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_basic-syntax/images.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ syntax-summary: "![alt text](image.jpg)"
55
description: "To add an image, add an exclamation mark (`!`), followed by alt text in brackets, and the path or URL to the image asset in parentheses. You can optionally add a title after the URL in the parentheses."
66
examples:
77
- markdown: |
8-
![The San Juan Mountains are beautiful!](/assets/images/san-juan-mountains.jpg "San Juan Mountains")
9-
html: <img src=\"/assets/images/san-juan-mountains.jpg\" class=\"img-responsive\" alt=\"The San Juan Mountains are beautiful!\" title=\"San Juan Mountains\">
8+
![The San Juan Mountains are beautiful](/assets/images/san-juan-mountains.jpg "San Juan Mountains")
9+
html: <img src=\"/assets/images/san-juan-mountains.jpg\" class=\"img-responsive\" alt=\"The San Juan Mountains are beautiful\" title=\"San Juan Mountains\">
1010
additional-examples:
1111
- name: "Linking Images"
1212
description: "To add a link to an image, enclose the Markdown for the image in brackets, and then add the link in parentheses."
@@ -18,12 +18,12 @@ additional-examples:
1818
To add an image, add an exclamation mark (`!`), followed by alt text in brackets, and the path or URL to the image asset in parentheses. You can optionally add a title in quotation marks after the path or URL.
1919

2020
```
21-
![The San Juan Mountains are beautiful!](/assets/images/san-juan-mountains.jpg "San Juan Mountains")
21+
![The San Juan Mountains are beautiful](/assets/images/san-juan-mountains.jpg "San Juan Mountains")
2222
```
2323

2424
The rendered output looks like this:
2525

26-
{% include image.html file="/assets/images/san-juan-mountains.jpg" alt="The San Juan Mountains are beautiful!" title="San Juan Mountains" lazy="yes" %}
26+
{% include image.html file="/assets/images/san-juan-mountains.jpg" alt="The San Juan Mountains are beautiful" title="San Juan Mountains" lazy="yes" %}
2727

2828
<div class="alert alert-info">
2929
<i class="fas fa-info-circle"></i> <strong>Note:</strong> To resize an image, see the section on <a href="/hacks/#image-size">image size</a>. To add a caption, see the section on <a href="/hacks/#image-captions">image captions</a>.

0 commit comments

Comments
 (0)