Skip to content

Commit e4ca797

Browse files
committed
fix: improve word breaking for code blocks in markdown
1 parent e811756 commit e4ca797

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/themes/shared/_markdown.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@
188188
code,
189189
samp {
190190
white-space: pre-wrap;
191+
word-break: break-word;
191192
}
192193

193194
code {

0 commit comments

Comments
 (0)