How can I change the line-wrapping tag of code block? #1972
Answered
by
nobkd
HeekangPark
asked this question in
Q&A
-
It seems that Shiki parses the code block's content, and conducts syntax highlighting, while wrapping each line with Here's my question.
|
Beta Was this translation helpful? Give feedback.
Answered by
nobkd
Mar 25, 2023
Replies: 1 comment 1 reply
-
I'll try to do a PR: #1973 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
HeekangPark
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<span>
tags were used to generate the lines, but they were replaced withdiv
s for highlighted code blocks because of line breaks missing in Firefox when copying code by selection.See #1883 and #1885.
See this code.
I'll try to do a PR: #1973