你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/472051-greasyfork-code-syntax-highlight-by-codemirror/discussions/222211,源站連結 點此以跳轉。
To syntax highlight GreasyFork Code by CodeMirror
< 脚本 GreasyFork Code: Syntax Highlight by CodeMirror 的反馈
Yes. Sometimes break.
This is old script.
Use https://greasyfork.org.cn/en/scripts/482182-greasyfork-code-syntax-highlight-by-prismjs instead please.
You might ask him to update to make compatible with this script.
By the way, For the above new script, copy button will copy the line number too.
Need him to filter out the .marker-fixed-width elements out before copying.
Can't you make https://greasyfork.org.cn/en/scripts/423726-greasyfork-copy-code-snippet compatible with https://greasyfork.org.cn/en/scripts/482182-greasyfork-code-syntax-highlight-by-prismjs
The whole point of https://greasyfork.org.cn/en/scripts/423726-greasyfork-copy-code-snippet is to avoid wasting time pressing ctrl-A to select all, then ctrl-C to copy
Thanks for making both compatible.
Only the first 99 lines, and only the comments are highlighted on https://greasyfork.org.cn/en/scripts/431691-bypass-all-shortlinks/code
same on https://greasyfork.org.cn/en/scripts/472051-greasyfork-code-syntax-highlight-by-codemirror/code
The correct one looks like this.


I think I cannot reproduce your issue. sorry.
Only the first 99 lines, and only the comments are highlighted
Issue is found. Fixed now. Please check again
I can't scroll down now, so I don't know if it was fixed or not
Breaks
https://greasyfork.org.cn/en/scripts/423726-greasyfork-copy-code-snippet