-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.py to PDF #3
Comments
idk, in general i dont use syntax highlighting at all |
I'd never heard that before, interesting. What don't you like about how it makes you read the code? Maybe a script with a flag? |
just the syntax colors have opinions that are not my opinions neither the writer's opinions :) for example, just read this: // the code will run twice
bool panic = true
while (true) {
panic = !panic;
if (panic) break;
}
without syntax highlighting it is much clear what is important (at least for me), with highlighting it seems like the keywords are more prominent than i think its a personal thing, so i dont have super strong opinion about it, i just dont like it, it pulls my attention away somehow also comments are just code if you dont use highlighting. |
I see what you mean about the Now I want to try this in class too - plain text programs
🧐 ... 👍 |
i added extract.py to extract all code snippets in .txt files into the examples/ directory thanks for the suggestion! |
This is really neat, simple and effective. |
any interest in a script to convert .py files to a highlighted code pdf for printing? it would create a new pdf with the same name next to each code file.
The text was updated successfully, but these errors were encountered: