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

Use local syntax highlighting and colorscheme #94

Open
DyBev opened this issue Apr 30, 2024 · 5 comments
Open

Use local syntax highlighting and colorscheme #94

DyBev opened this issue Apr 30, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request idea

Comments

@DyBev
Copy link

DyBev commented Apr 30, 2024

Less of an issue, more of a feature request.

How much work would it be to use the local highlighting and colorscheme when taking a snapshot?

@mistricky
Copy link
Owner

Hi @DyBev, thx for this issue reporting, actually CodeSnap now using syntect to implement code highlight. Users may have their own color scheme, it's a lot of work if need to change the strategy of highlight code.

@mistricky mistricky added enhancement New feature or request idea labels Apr 30, 2024
@DyBev
Copy link
Author

DyBev commented May 2, 2024

I see thanks for pointing me towards the syntax highlighter, I can just add the syntax highlight file to that repo then it would solve the issue I'm facing where a snapshot can't be taken at all

@mistricky mistricky self-assigned this May 3, 2024
@mistricky
Copy link
Owner

CodeSnap does not support custom code theme for now, but we have planned to support for custom code theme in the future.

@LZDQ
Copy link

LZDQ commented Jun 2, 2024

Yeah why not just take a screenshot, fastest solution

@DyBev
Copy link
Author

DyBev commented Jun 3, 2024

@LZDQ yes that is what I've been doing. I've moved away from the plugin now.

The comment isn't helpful. By your logic, why should this plugin exist in the first place, just take a screenshot after all you can just press cmd+shift+4 or cmd+shift+5 and take a screenshot or screen recording and you're done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request idea
Projects
None yet
Development

No branches or pull requests

3 participants