jaredpetersen/codeprinter

πŸ–¨οΈ Print out code easily

320

stars

78

commits

JavaScript

primary language

May 28, 2024

updated

jaredpetersen.github.io/codeprinter/
code
print
printer
printing
programming-tools

README

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.

Contributors

jaredpetersen

78 commits

jaredpetersen/codeprinter

πŸ–¨οΈ Print out code easily

320

stars

78

commits

JavaScript

primary language

May 28, 2024

updated

jaredpetersen.github.io/codeprinter/
code
print
printer
printing
programming-tools

README

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.

Contributors

jaredpetersen

78 commits

Languages

JavaScript

92.0%

HTML

4.2%

CSS

3.8%