reference
reference copied to clipboard
Cheatsheet request: make printer friendly
first of all, thanks for providing this beautifully styled awesome quick reference tool.
I'm wondering if there's a best way to make the page printer friendly? currently if you print directly it's gonna lose all of the styling/page arrengment, or with a big chunk of the space for title etc.
for the timebeing, im just using this script to remove the header and footer
const array = [
"body > header",
"body > div.mx-auto.flex.flex-wrap.md\\:py-5.flex-col.md\\:flex-row.items-center > div.flex.flex-col.w-full.mx-auto.text-center.my-8",
"body > footer"
].map((x) => document.querySelector(x)).forEach((e)=> e.style.display = "none")
or if you prefer you could use my script here: https://greasyfork.org/en/scripts/474285-cheatsheets-header-footer-removal