Skip to content

Commit ad40e85

Browse files
committed
style: enable word wrap in code blocks
1 parent 4c91272 commit ad40e85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/styles/markdown.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
}
8282

8383
.markdown pre code {
84-
@apply block bg-transparent p-0 overflow-visible rounded-none;
84+
@apply block bg-transparent p-0 overflow-visible rounded-none whitespace-pre-wrap break-words;
8585
}
8686

8787
.markdown ul {

0 commit comments

Comments
 (0)