by sureglymop · 1y ago · 0 comments
But I really dislike these markdown books used by many rust projects. I wish they just had an option to download it as a PDF, so that I could archive them. The printing button really isn't good enough for that. I mean if everything is already neatly renderd to HTML like that, how hard could it realistically be to also create a good looking PDF version...
But these subjects evolve so fast, that having a bunch of .deadtrees lying around just become a nuisance.
If all I want is some form of archive to look back on later, a bunch of .md files seems perfect.
.... is what I was going to say until I went and hit the print button and 10% of the text was missing and everything was right aligned in the top right corner.
Yikes. You may find it worthwhile to clone the repo, iterate over it with pandoc to make A Big HTML File and then use your browsers print feature or pandocs converter. That's about as good as you'll get without a lot of pain ime.
Tbh, would probably still recommend rendering it with pandoc because the h1's being split that way does annoy me, but at least it gets the content right.