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

Line highlighting #216

Merged
merged 8 commits into from
Jun 18, 2024
Merged

Line highlighting #216

merged 8 commits into from
Jun 18, 2024

Conversation

coatless
Copy link
Owner

This PR implements line highlighting under editor-code-line-numbers using syntax similar to RevealJS's code-line-numbers inside Quarto.

  • editor-code-line-numbers: 1-3 will highlight lines 1 to 3.
  • editor-code-line-numbers: 1,3,5 will highlight lines 1, 3, and 5.
  • editor-code-line-numbers: 1-3,5 will highlight lines 1 to 3 and 5.

Close #204

@coatless coatless merged commit 93d42d9 into main Jun 18, 2024
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

Successfully merging this pull request may close these issues.

Highlight code line in monaco editor
1 participant