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

Split plaintext code into lines #298

Merged
merged 1 commit into from
Feb 15, 2022
Merged

Conversation

silvenon
Copy link
Contributor

@silvenon silvenon commented Feb 9, 2022

Currently it isn't possible to highlight lines in txt code blocks because the entire code is being treated as a single line. This changes makes the highlighter respect line breaks.

@octref
Copy link
Collaborator

octref commented Feb 15, 2022

Good work, thanks!

@octref octref merged commit 1849be7 into shikijs:main Feb 15, 2022
@silvenon silvenon deleted the plaintext-lines branch February 15, 2022 18:44
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