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

Adding a new language #57

Open
kevingivens opened this issue Mar 15, 2023 · 1 comment
Open

Adding a new language #57

kevingivens opened this issue Mar 15, 2023 · 1 comment

Comments

@kevingivens
Copy link

What's the recommended way of adding support for a language not currently available in Refactor? I'm currently trying to add highlighting support for Cython.

@timlrx
Copy link
Owner

timlrx commented Jun 21, 2023

It's tricky, I think you might have to modifier the underlying Prism object directly like what refractor does. and rebuild this package.

You might want to try https://github.com/wooorm/starry-night instead which has support for it.

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

2 participants