Skip to content
Discussion options

You must be logged in to vote

Hi @brannytempy!

Though the Code Block component does include the option for line numbers (the showLineNumbers prop), the syntax highlighting library we use would only be able to highlight diffs by line, not character, which is what your examples show. I think in this case, it would make more sense for Segment to build a custom component to get the specific functionality you're looking for!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gloriliale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants