diff --git a/themes/prism-coy.css b/themes/prism-coy.css index fbd559c9e5..70981caebe 100644 --- a/themes/prism-coy.css +++ b/themes/prism-coy.css @@ -77,6 +77,7 @@ pre[class*="language-"] { color: #c92c2c; border: 1px solid rgba(0, 0, 0, 0.1); display: inline; + white-space: normal; } pre[class*="language-"]:before, diff --git a/themes/prism-dark.css b/themes/prism-dark.css index 74b1a65d88..3c956f54fb 100644 --- a/themes/prism-dark.css +++ b/themes/prism-dark.css @@ -55,6 +55,7 @@ pre[class*="language-"] { border-radius: .3em; border: .13em solid hsl(30, 20%, 40%); box-shadow: 1px 1px .3em -.1em black inset; + white-space: normal; } .token.comment, diff --git a/themes/prism-funky.css b/themes/prism-funky.css index 56dee03203..e4d676d6ca 100644 --- a/themes/prism-funky.css +++ b/themes/prism-funky.css @@ -45,6 +45,7 @@ code[class*="language-"] { padding: .2em; border-radius: .3em; box-shadow: none; + white-space: normal; } .token.comment, diff --git a/themes/prism-okaidia.css b/themes/prism-okaidia.css index 3b9e2a6110..676b0705e2 100644 --- a/themes/prism-okaidia.css +++ b/themes/prism-okaidia.css @@ -44,6 +44,7 @@ pre[class*="language-"] { :not(pre) > code[class*="language-"] { padding: .1em; border-radius: .3em; + white-space: normal; } .token.comment, diff --git a/themes/prism-tomorrow.css b/themes/prism-tomorrow.css index f44ab818ff..a4e7873497 100644 --- a/themes/prism-tomorrow.css +++ b/themes/prism-tomorrow.css @@ -43,6 +43,7 @@ pre[class*="language-"] { :not(pre) > code[class*="language-"] { padding: .1em; border-radius: .3em; + white-space: normal; } .token.comment, diff --git a/themes/prism-twilight.css b/themes/prism-twilight.css index e873fa6f21..09b8dfffaa 100644 --- a/themes/prism-twilight.css +++ b/themes/prism-twilight.css @@ -70,6 +70,7 @@ code[class*="language-"]::selection, code[class*="language-"] ::selection { border: .13em solid hsl(0, 0%, 33%); /* #545454 */ box-shadow: 1px 1px .3em -.1em black inset; padding: .15em .2em .05em; + white-space: normal; } .token.comment, diff --git a/themes/prism.css b/themes/prism.css index e81ebeddc6..2918f11563 100644 --- a/themes/prism.css +++ b/themes/prism.css @@ -62,6 +62,7 @@ pre[class*="language-"] { :not(pre) > code[class*="language-"] { padding: .1em; border-radius: .3em; + white-space: normal; } .token.comment,