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

Replace cardinal with cli-highlight #262

Merged
merged 3 commits into from
Jan 15, 2024
Merged

Conversation

jescalan
Copy link
Contributor

This highlighter supports a much wider range of languages than just javascript, which opens a lot of doors for code blocks rendered into the terminal. Here's an example of a diff language block that I rendered using this fork, super good stuff!

Screenshot 2024-01-10 at 3 58 07 PM

All tests were passing out of the gate with this change, which is maybe a slight red flag, but on the other hand its just one highlighter for another highlighter and in my manual testing the output looked just about identical.

@mikaelbr
Copy link
Owner

Looks reasonable! This will be a breaking change as options are different. Merging and doing a release later. Thanks for your work!

@mikaelbr mikaelbr merged commit 338ebd7 into mikaelbr:master Jan 15, 2024
14 checks passed
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

Successfully merging this pull request may close these issues.

2 participants