Add @media type for the max-height property in the coy theme, so that it is disabled for printouts.
diff --git a/themes/prism-coy.css b/themes/prism-coy.css
index 70981ca..dbfd66d 100644
--- a/themes/prism-coy.css
+++ b/themes/prism-coy.css
@@ -43,10 +43,15 @@ pre[class*="language-"] {
background-size: 3em 3em;
background-origin: content-box;
overflow: visible;
- max-height: 30em;
padding: 0;
}
+@media screen {
+ pre[class*="language-"] {
+ max-height: 30em;
+ }
+}
+
code[class*="language"] {
max-height: inherit;
height: 100%;