Skip to content

Commit 5104a28

Browse files
sinchangulivz
authored andcommitted
docs: fix image preview (#1363)
1 parent ff296e5 commit 5104a28

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: packages/docs/docs/guide/markdown.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ module.exports = {
253253
markdown: {
254254
lineNumbers: true
255255
}
256-
}
256+
}
257257
```
258258

259259
<!-- TODO Support line numbers for specific fence block -->
@@ -262,12 +262,12 @@ module.exports = {
262262

263263
<picture>
264264
<source srcset="/line-numbers-desktop.png" media="(min-width: 719px)">
265-
<img class="line-numbers-desktop-snap" alt="Image">
265+
<img src="/line-numbers-desktop.png" class="line-numbers-desktop-snap" alt="Image">
266266
</picture>
267267

268268
<picture>
269269
<source srcset="/line-numbers-mobile.gif" media="(max-width: 719px)">
270-
<img class="line-numbers-mobile-snap" alt="Image">
270+
<img src="/line-numbers-mobile.gif" class="line-numbers-mobile-snap" alt="Image">
271271
</picture>
272272

273273
<style>
@@ -299,7 +299,7 @@ You can import code snippets from existing files via following syntax:
299299
It also supports [line highlighting](#line-highlighting-in-code-blocks):
300300

301301
``` md
302-
<<< @/filepath{highlightLines}
302+
<<< @/filepath{highlightLines}
303303
```
304304

305305
**Input**

0 commit comments

Comments
 (0)