mkdocs-material
mkdocs-material copied to clipboard
Code blocks: UI to remove line selection
Context
No response
Description
I'd really like to be able to change my mind about highlighting any lines at all, without reloading the page. Currently, once I toggle the line selection on and select a line, I can only move the selection, not remove it.
Related links
I mentioned this in comments to discussion#5195.
Use Cases
This seems like something anyone who uses the line selection would want.
Visuals
I'm not sure what it would look like for UI, but my instinct was to click an already-selected line.
Before submitting
- [X] I have read and followed the change request guidelines.
- [X] I have verified that my idea is a change request and not a bug report.
- [X] I have ensured that, to the best knowledge, my idea will benefit the entire community.
- [X] I have included relevant links to the documentation, related issues and discussions to underline the need for my idea.