Skip to content

Split plaintext code into lines#298

Merged
octref merged 1 commit into
shikijs:mainfrom
silvenon:plaintext-lines
Feb 15, 2022
Merged

Split plaintext code into lines#298
octref merged 1 commit into
shikijs:mainfrom
silvenon:plaintext-lines

Conversation

@silvenon

@silvenon silvenon commented Feb 9, 2022

Copy link
Copy Markdown
Contributor

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

octref commented Feb 15, 2022

Copy link
Copy Markdown
Collaborator

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