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
Copy file name to clipboardExpand all lines: docs/syntax/images.md
+23-17Lines changed: 23 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,35 @@
1
1
# Images
2
2
3
-
Images include screenshots, inline images, icons, and more. Syntax for images is like the syntax for links, with two differences:
3
+
Images include screenshots, inline images, icons, and more. Syntax for images is like the syntax for links, with the following differences:
4
+
4
5
1. instead of link text, you provide an image description
5
6
2. an image description starts with ` includes an image and is used in pages that exist in different `toc.yml`, the images will break.
12
+
:::
8
13
9
14
## Block-level images
10
15
11
16
```markdown
12
-

17
+

13
18
```
14
19
15
-

20
+

21
+
16
22
17
23
Or, use the `image` directive.
18
24
19
25
```markdown
20
-
:::{image} images/observability.png
26
+
:::{image} /syntax/images/observability.png
21
27
:alt: Elasticsearch
22
28
:width: 250px
23
29
:::
24
30
```
25
31
26
-
:::{image} images/observability.png
32
+
:::{image} /syntax/images/observability.png
27
33
:alt: Elasticsearch
28
34
:width: 250px
29
35
:::
@@ -33,36 +39,37 @@ Or, use the `image` directive.
33
39
Screenshots are images displayed with a box-shadow. Define a screenshot by adding the `:screenshot:` attribute to a block-level image directive.
34
40
35
41
```markdown
36
-
:::{image} images/apm.png
42
+
43
+
:::{image} /syntax/images/apm.png
37
44
:screenshot:
38
45
:::
39
46
```
40
47
41
-
:::{image} images/apm.png
48
+
:::{image} /syntax/images/apm.png
42
49
:screenshot:
43
50
:::
44
51
45
52
## Inline images
46
53
47
54
```markdown
48
-
Here is the same image used inline 
55
+
Here is the same image used inline 
49
56
```
50
57
51
-
Here is the same image used inline 
58
+
Here is the same image used inline 
52
59
53
60
54
61
### Inline image titles
55
62
56
63
Titles are optional making this the minimal syntax required
0 commit comments