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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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