File tree Expand file tree Collapse file tree 1 file changed +19
-18
lines changed Expand file tree Collapse file tree 1 file changed +19
-18
lines changed Original file line number Diff line number Diff line change 3
3
doc: Figures
4
4
5
5
{{< figure > }}
6
- src = ' https://images.unsplash.com/photo-1546238232-20216dec9f72'
7
- alt = ' Cute puppies'
6
+ src = " https://images.unsplash.com/photo-1546238232-20216dec9f72"
7
+ alt = " Cute puppies"
8
8
height = 200
9
9
width = 200
10
- title = ' Figure title'
11
- attribution = ' Figure Credits: Cute puppies image from unsplash.com'
12
- attributionlink = ' https://images.unsplash.com/photo-1546238232-20216dec9f72'
10
+ title = " Figure title"
11
+ attribution = " Figure Credits: Cute puppies image from unsplash.com"
12
+ attributionlink = " https://images.unsplash.com/photo-1546238232-20216dec9f72"
13
13
caption = '''
14
14
A figure is an image with a caption. Figures may also include a tile, legend, and/or attribution.
15
15
'''
21
21
{{< /figure > }}
22
22
23
23
{{< figure > }}
24
- src = ' https://images.unsplash.com/photo-1546238232-20216dec9f72'
25
- alt = ' Cute puppies'
26
- attribution = ' Figure Credits: Cute puppies image from unsplash.com'
27
- attributionlink = ' https://images.unsplash.com/photo-1546238232-20216dec9f72'
28
- align = ' left'
24
+ src = " https://images.unsplash.com/photo-1546238232-20216dec9f72"
25
+ alt = " Cute puppies"
26
+ attribution = " Figure Credits: Cute puppies image from unsplash.com"
27
+ attributionlink = " https://images.unsplash.com/photo-1546238232-20216dec9f72"
28
+ align = " left"
29
29
height = 150
30
30
width = 150
31
31
caption = '''
40
40
This shortcode can also be used with named parameters. The following example shows how to do so:
41
41
42
42
{{< figure
43
- src = "https://images.unsplash.com/photo-1546238232-20216dec9f72 "
44
- alt = "Cute puppies "
45
- attribution = "Figure Credits: Cute puppies image from unsplash.com "
46
- attributionlink = 'https://images.unsplash.com/photo-1546238232-20216dec9f72 '
47
- align = "right "
48
- height = "150 "
49
- width = "150 "
50
- caption = "A figure with right alignment. " > }}
43
+ src = "https://images.unsplash.com/photo-1546238232-20216dec9f72 "
44
+ alt = "Cute puppies "
45
+ attribution = "Figure Credits: Cute puppies image from unsplash.com "
46
+ attributionlink = "https://images.unsplash.com/photo-1546238232-20216dec9f72 "
47
+ align = "right "
48
+ height = 150
49
+ width = 150
50
+ caption = "A figure with right alignment. "
51
+ > }}
51
52
52
53
{{< /figure > }}
53
54
You can’t perform that action at this time.
0 commit comments