Answer the question
In order to leave comments, you need to log in
How to implement line highlighting so that the text can be selected and copied?
There is a small code for syntax highlighting. It's kind of like the developer tools in Google Chrome. When you hover over a specific line, it is highlighted. Looks good. However, line highlighting does not allow text to be selected by swiping horizontally with the cursor.
How can this problem be solved, given that some elements may wrap to other lines?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question