You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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."
6
6
examples:
7
7
- markdown: |
8
-

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
+

9
+
html: <img src=\"/assets/images/san-juan-mountains.jpg\" class=\"img-responsive\" alt=\"The San Juan Mountains are beautiful\" title=\"San Juan Mountains\">
10
10
additional-examples:
11
11
- name: "Linking Images"
12
12
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:
18
18
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.
19
19
20
20
```
21
-

21
+

22
22
```
23
23
24
24
The rendered output looks like this:
25
25
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" %}
27
27
28
28
<divclass="alert alert-info">
29
29
<iclass="fas fa-info-circle"></i> <strong>Note:</strong> To resize an image, see the section on <ahref="/hacks/#image-size">image size</a>. To add a caption, see the section on <ahref="/hacks/#image-captions">image captions</a>.
0 commit comments