Commit 1e31f68
committed
feat(Markdown.tsx): allow custom image dimensions in Markdown component
Add support for custom width and height attributes for images in the
Markdown component. This change allows users to specify image dimensions
directly in the Markdown content, providing greater flexibility and
control over image rendering. Default dimensions are maintained for
backward compatibility when width and height are not specified.1 parent 0855e2b commit 1e31f68
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments