File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,21 @@ but it's always possible to use the [Markdown in HTML] extension with literal
136
136
</figure >
137
137
</div >
138
138
139
+
140
+ Another option is to use [ Markdown captions] ( https://github.com/Evidlo/markdown_captions ) extension
141
+ which converts images with alt text to \< figure\> with \< figcaption\> .
142
+
143
+ ``` html title="Image with caption"
144
+ { width="300" }
145
+ ```
146
+
147
+ <div class =" result " >
148
+ <figure >
149
+ <img src="https://dummyimage.com/600x400/f5f5f5/aaaaaa?text=–%20Image%20–" width="300" />
150
+ <figcaption>Image caption</figcaption>
151
+ </figure >
152
+ </div >
153
+
139
154
### Image lazy-loading
140
155
141
156
Modern browsers provide [ native support for lazy-loading images] [ lazy-loading ]
You can’t perform that action at this time.
0 commit comments