Allow toggling syntax highlighting on/off for the page from a right click on the textarea/similar
还没有人认领这个 Issue。
评估
调研方向
未指定任何文件、测试或实现入口。首先跟踪扩展如何注册 textarea 语法高亮和浏览器上下文菜单操作,然后确定 toggle 应如何影响 GitHub 的 textarea,以及如何从页面验证其启用状态。
由索引模型根据 Issue 内容生成。
描述
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:
- 主要语言
- HTML
- 星标
- 58
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
diffplug/gitcasso 的其他 Issue
-
Jukebox gap 未关闭
难度 5/5 一周以上 新手友好度 10/100
-
bug
难度 3/5 1-2 天 新手友好度 45/100
-
enhancement
难度 5/5 一周以上 新手友好度 20/100
-
enhancement
难度 5/5 一周以上 新手友好度 32/100
-
enhancement
难度 3/5 1-2 天 新手友好度 45/100
查看 diffplug/gitcasso 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
pastelsky/bundlephobia#1122 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
speaches-ai/speaches#678 ·
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
难度 1/5 1 小时以内 新手友好度 95/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
jellyfin/jellyfin-web#8540 ·