Gutenberg

Dev tools

css framework

SHOW HN2017

Legend

Gutenberg

Modern CSS framework to print the web correctly

github.com

#css print#print stylesheet#paged media#html to pdf

305points
59comments
#70of 2,242 in 2017
Top 4%of 2017 by points

How HN took it

MixedNo clear lean

5 positive, 7 neutral or asking, 1 mixed, 3 critical, out of 16 comments about the project. Thread score +0.11.

Execution: 0 for, 2 againstIdea: 1 for, 0 againstDesign: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Useful for printing; a good layout even on screen

    From 3 comments
    • It makes a pretty good layout even on screen: http://jsbin.com/relaranujo/2
      jehna1 on HN
    • That's nice. I find that printing and reviewing my own blog articles helps a lot in catching mistakes etc. I will see if I can integrate that into my website.
      wkoszek on HN
    • Hey this is great. I'm going to add this to the print preview mode in Collate! http://collatenotes.com
      patleeman on HN

Objections

  • Printing a modern style gave a blank page because fonts were not loaded

    From 2 comments
  • Name is not a great choice

    From 1 comment

Requests

  • Add headers and footers using paged media

    From 1 comment
    • If you could implement headers and footers into this using paged media and provide examples that would be golden. I could be missing where that was done.…
      hermiti on HN
  • Add a LICENSE file

    From 1 comment
    • A LICENSE file, please? (Though package.json does declare MIT; a LICENSE file should also allow GitHub to pick it up.)
      deathanatos on HN
  • Generalize into a browser extension to restyle pages

    From 2 comments
    • Awesome idea. I wonder if this could be generalized to a chrome extension, to override styles on Wikipedia or whatever.
      joshwcomeau on HN
    • Please!!!! Unprintable web pages abound. They make my blood boil.
      dbcurtis on HN

Questions

  • Does it handle word breaks and justified alignment like LaTeX?

    From 1 comment
    • Where are word breaks (word splitting if not fit for page), justify alignment? Variable spaces between letters? Is this possible with CSS? I'm trying to typeset a long text on…
      hoschicz on HN
  • Is it related to matejlatin/Gutenberg?

    From 1 comment
    • Is there any relation to https://github.com/matejlatin/Gutenberg?
      teekno on HN

Alternatives named

  • Prince XML and DocRaptor

    From 3 comments
    • The problem with those, the last time i checked, was that most html to pdf solutions don't support them. The only one I could find was Prince ( https://www.princexml.com/ ) ,…
      Roritharr on HN
    • Checkout https://docraptor.com/ - it's great - is commercial but affordable.
      addedlovely on HN
    • Docraptor is just the SaaS version of PrinceXML, the underlying software is the same. Much more affordable for small jobs though!
      Alex3917 on HN
  • wkhtmltopdf, PhantomJS, WeasyPrint

    From 3 comments
    • I'm pretty sure that wkhtmltopdf supported these too, last time I used it, though it's been quite a while now.
      matthewmacleod on HN
    • PhantomJS supports it too (either through `html-pdf` or manually).
      haar on HN
    • weasyprint supports it
      dom96 on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/13763469)