Allow toggling syntax highlighting on/off for the page from a right click on the textarea/similar
- Ngôn ngữ chính
- HTML
- Star
- 58
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Sometimes I want the syntax highlighting, sometimes I would prefer it to just remain untouched; and usually the times where I want to make that decision are somewhat arbitrary and in the moment. It would be nice if I didn't have to 'reach far' to be able to toggle this; even better if it's not via the extension icon in the app bar because I already have way too many pinned open, and I would rather this 'fade into the background' except when I explicitly need it.
There's an extension called Markdown Toggle, and it seems to only show in the right-click context menu when I am clicking on a textarea or similar; but not when I right-click on a random section of the page. This feels like a nice compromise.
Potentially for GitHub textarea's in particular, there might also be an option to add a 'toggle syntax highlighting' button to the 'markdown toolbar' too:
Hướng dẫn đóng góp
Hướng nghiên cứu
No files, tests, or implementation entry points are named. Start by tracing how the extension registers textarea syntax highlighting and browser context-menu actions, then determine how the toggle should affect GitHub textareas and how its enabled state can be verified from the page.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- github, html
- Lĩnh vực
- frontend, web-dev
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100