Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeBlock do not support highlightedLines prop anymore #3478

Open
derberg opened this issue Dec 16, 2024 · 3 comments · May be fixed by #3480
Open

CodeBlock do not support highlightedLines prop anymore #3478

derberg opened this issue Dec 16, 2024 · 3 comments · May be fixed by #3480
Labels

Comments

@derberg
Copy link
Member

derberg commented Dec 16, 2024

Examples:

Problem: The numbers provided withing the highlightedLines array indicate lines in the code samples that should have an explicit highglight to make these lines stand out in the UI, as the lines that are most important for the reader to pay attention too.

@derberg derberg added the bug label Dec 16, 2024
@aakankshabhende
Copy link
Contributor

@derberg I would like to work on this. Could you please assign me this?

@sambhavgupta0705
Copy link
Member

@aakankshabhende yes you can work on this one

@karthikeyan-v-max
Copy link

@derberg I have a question regarding the issue you provided. Specifically, does the highlightedLines property highlight the content (such as specific words) uniquely, or does it only highlight the line numbers?

From the example source and preview you shared, it seems that only the line numbers are being highlighted. Could you please clarify this?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants