Skip to content

jaredpetersen/codeprinter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.