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

Add the ability to show highlighted lines in the code editor #134

Open
jaltekruse opened this issue Mar 15, 2024 · 2 comments
Open

Add the ability to show highlighted lines in the code editor #134

jaltekruse opened this issue Mar 15, 2024 · 2 comments

Comments

@jaltekruse
Copy link
Contributor

Other tutorials have a nice feature of showing which lines change between the different versions of code snippets.

Here is an example from the Next JS tutorial.

https://nextjs.org/learn/dashboard-app/adding-search-and-pagination

Screenshot 2024-03-15 at 10 38 23 AM
@siefkenj
Copy link
Contributor

Do you mean when the code editor has static content, or also in an editable code editor?

@jaltekruse
Copy link
Contributor Author

Either could be possibly be useful, but it probably makes the most sense to start with the static version. I don't think it would be too unintuitive if the highlights disappeared as you modified an editable one that started out with highlights.

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

No branches or pull requests

2 participants