Skip to content

Instantly share code, notes, and snippets.

@louwers
Created January 9, 2022 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save louwers/8018fcdea3056f40d50248bb7d7ddf10 to your computer and use it in GitHub Desktop.
Save louwers/8018fcdea3056f40d50248bb7d7ddf10 to your computer and use it in GitHub Desktop.
CppCoreGuideLines PDF
#!/bin/bash
# Here is how you can get a pretty good PDF of the C++ Core Guidelines
wget wget -nd -r -l 2 -A png http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines
pandoc CppCoreGuidelines.html -o cpp-core-guidelines.pdf
@louwers
Copy link
Author

louwers commented Jan 9, 2022

Add -V geometry:margin=1.5in to pandoc to modify the margins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment