codeprinter

by jaredpetersen

jaredpetersen / codeprinter

🖨️ Print out code easily

220 Stars 27 Forks Last release: almost 2 years ago (1.0.4) MIT License 78 Commits 5 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

codeprinter

Build Status Donate

codeprinter's goal is pretty self-explanatory: to make it easier to print out code on paper. Many IDE's either don't allow you to print or have some weird quirks like adding unnecessary headers and footers, not allowing you to change your font size, or not providing syntax highlighting on your printout.

codeprinter makes it easy. Simply copy your code into the text box, select your desired font, font size, syntax highlighting theme, and whether or not you would like line numbers and then hit print.

Usage

codeprinter is currently hosted by GitHub Pages at http://jaredpetersen.github.io/codeprinter/.

If you're concerned about pasting code into some website, you can use it locally as well. codeprinter is a React project that uses NPM and Node.js, so you'll need both installed in order to do so. Right now, codeprinter supports Node 8.x or higher, but the latest LTS version is always recommended.

Once that's out of the way, run the following commands to install the dependencies, build the application, and run it:

npm install
npm run build
npm start

Screenshots

Paste your code Change your font size Print your code

How to Contribute

Find a bug? Want to request a new feature? Awesome! Create an issue and/or submit a pull request. Just want to show your support for the project? Buy me a cup of coffee.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.