How to add line numbers to code blocks #321
Answered
by
zbeyens
jefferybai
asked this question in
Q&A
-
Hello, I want to add a line number to the code block component. Can the minimum unit of the code block be changed to line? The data structure of Element is as follows:
|
Beta Was this translation helpful? Give feedback.
Answered by
zbeyens
Oct 27, 2020
Replies: 2 comments
-
What about https://prismjs.com/plugins/line-numbers/ ? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zbeyens
-
Haha, Thank you, This is really an interesting library. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What about https://prismjs.com/plugins/line-numbers/ ?