jaredpetersen / codeprinter Goto Github PK
View Code? Open in Web Editor NEW๐จ๏ธ Print out code easily
Home Page: https://jaredpetersen.github.io/codeprinter/
License: MIT License
๐จ๏ธ Print out code easily
Home Page: https://jaredpetersen.github.io/codeprinter/
License: MIT License
Printed code should be properly highlighted.
Syntax highlighting was broken by the last commit
There is an extra page on the printout, regardless of the number of pages being printed.
React Hooks didn't exist when codeprinter was last overhauled. Look into how it may benefit the project and make the necessary changes.
Concerns of pasting into "some website" would be reduced if it was at least served over HTTPS.
Please consider doing that if possible.
The code printer inserts many blank lines (~6 pages) at around line 415.
https://raw.githubusercontent.com/openfaas-incubator/ofc-bootstrap/master/main.go
Look into using Bulma instead of Bootstrap / Reactstrap. Will likely need to a smaller deployable and possibly a nicer looking interface.
It would be very useful if printed pages would have page numbers.
Reddit user Merc92 brought up that single apostrophes were showing up just as their html encoded version.
It would be very useful when using the web-site through iPad or iPhone
User should be able to edit the font and font size used in the printout
I would like Solidity language to be supported. I tried it today using GitHub highlighting option but it's not correctly highlighting it.
Solidity is a smart-contract language and smart-contracts need to be strictly reviewed so programmers often print them for review tasks. This could be really useful for many people.
Google Docs really does the word processing UI right. The UI for code printer should look similar, with different (monospace only) fonts, font sizes, and color highlighting choices.
The GitHub highlight.js syntax theme that is provided by default does not really match the current GitHub syntax highlighting style.
Two options:
Self explanatory. I was trying a method of printing 53 lines out (one page) before inserting a bunch of newline characters to get the margins right, but that only sort of works as long as a line of text fits on a page (no text wrapping). I think the next way to figure this out is going to be something to the effect of finding out the exact width of a character and calculating how many characters can fit on a line.
I used your tool to generate around 30+ PDFs, and 4 of them got weirdly small font. Here is one of them.
KVS_BusRoutes.html.pdf
I couldn't understand why this is happening. I am 80% sure it is due to something in the code (all 4 codes have too similar code), but couldn't figure out what.
Is there an option for darkmode and I cant find it?
If not it would be great if it could be added!
UI should have code highlighting as well.
it is super maybe, i think there is no program that print all code at the specific repo at github. if this skill is in this, this will be masterpiece better than now
App no longer builds. This can be addressed with npm i react-scripts@latest
, but it looks like there are still some issues with that.
Other dependencies are out of date as well. React itself, React Syntax Highlighter, etc... A lot has changed in 5 years ๐
Need to use fonts that are universal across all operating systems and browsers.
Some of the elements at the top are not clear what they do.
The program removes all indentation when the code is printed. This is likely a result of the regular expression on Line 30 which splits the input text into "words".
Just to add to the wish list, I'd like to see thin vertical lines at the indentation (tab) levels of my code, like most code editors show these days. Thanks. Not holding my breath for this.
The font hack is great for code and different from the other fonts included in codeprinter.
github page
homepage
Hi there.
This tool can be quite handy. However, for talking about printed code, line numbers would be very helpful. Is this feature already there and I just haven't found it?
Edit: I guess there's no easy way here..
Thanks a lot
Stephan
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.