Print (or use the print preview) to see the result with Gutenberg. To hide elements to be printed you can simply add the class no-print. Gutenberg provides two ways to break a page, the class page-break-before will to break before and page-break-after to break after. To avoid the page to break "inside" an element, you can use the avoid-break-inside class. If you do not want to reformat the links, acronym or abbreviation to show the full url or title, you can use the class no-reformat. Simply include the right stylesheet(s) in your html and load it only for a printer. Gutenberg.css is the base stylesheet but there are themes available in the themes folder. To hide elements to be printed you can simply add the class no-print.

Features

  • Gutenberg provides two ways to break a page
  • To avoid the page to break "inside" an element, you can use the avoid-break-inside class
  • Not reformat links or acronym
  • Force to print background
  • Avoid break inside
  • Force backgrounds to be printed (can be useful when you "print" a pdf)

Project Samples

Project Activity

See All Activity >

Categories

Frameworks, Printing

License

MIT License

Follow Gutenberg

Gutenberg Web Site

Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Gutenberg!

Additional Project Details

Registered

2021-12-20