-
Notifications
You must be signed in to change notification settings - Fork 26
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
Prints in Black and White only #31
Comments
Same problem here, except that I tried with Safari. Does this extension actually do any syntax highlighting? Or can it pick the highlighting from other language extensions (e.g., Rust, CorrectionHaskell source files are printed OK - with the appropriate syntax highlighting. Rust source files are not syntax-highlighted. Help syntax-highlighting for Rust files would be appreciated! |
Trying to do so for solidity as well if any tips |
I have the same question for Chrome to print fortran code. |
PrintCode uses CodeMirror to render files for printing. PrintCode's settings for particular file types are determined here: src/content.js, lines 10-26. Not all the possible file types get any special coloring, so you may feel free to enhance the plugin within the limits of CodeMirror. It seems @nobuhito is nowadays busy with some other projects along with vscode evolving fast, so we may need to take actions if PrintCode plugin is still deemed useful and worth of continued development. The last release of PrintCode was made in 2018, and in 2019 came for example this new plugin (haven't tried it yet): github.com/PeterWone/vsc-print. |
Same for JavaScript files, it gives the colour coding for |
I have tried Chrome and Opera but cannot seem to get PrintCode to print in colour. It prints perfectly but only in Black & White so we lose all the syntax highlighting.
The text was updated successfully, but these errors were encountered: