Skip to content
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

About font color. #23

Open
haruzheng opened this issue Oct 21, 2018 · 5 comments
Open

About font color. #23

haruzheng opened this issue Oct 21, 2018 · 5 comments

Comments

@haruzheng
Copy link

haruzheng commented Oct 21, 2018

The font color is follow from VS Code?
Or from this PrintCode project?
Thank you.

@janilahti
Copy link

Syntax coloring comes from CodeMirror https://codemirror.net/ css this extension is using. Now it's also possible to add your own css definitions if there's something you want to change.

@haruzheng
Copy link
Author

haruzheng commented Oct 22, 2018

Because my code is c/c++,but it printed is not colorful.
Only number,comment and string have color.
How about add your own css definitions?
Thank you.

@janilahti
Copy link

You're getting something like this https://codemirror.net/2/mode/clike/ . If you want more coloring, please make a PR or feature request to CodeMirror project.

@pchaigno
Copy link

I'm not even getting the C-like of CodeMirror:
vscode-printcode

@gggin
Copy link

gggin commented Mar 7, 2019

why we cannot use the css in vscode? I use custom plugin for c++ highlight, so the problem is same with @pchaigno

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants