Discussions » Greasy Fork Feedback

Significatant Lagging on the code page if the code is too long

§
Posted: 30-07-2023
Edited: 30-07-2023

Example: https://greasyfork.org/en/scripts/411442-flow-youtube-chat/code

Suggest to change to high performance library "CodeMirror" (v5 or v6)

https://codemirror.net/

CodeMirror is designed for high performance coding syntax highlighting


Highlight.js version, supporting javascript, css, stylus, and less

https://greasyfork.org/scripts/481945-greasyfork-code-syntax-highlight-by-highlight-js

§
Posted: 13-12-2023
Edited: 13-12-2023

Here is the preview of using Code Mirror

https://greasyfork.org/en/scripts/472051-greasyfork-code-syntax-highlight-by-codemirror

This has an annoying cursor with a highlight for no reason,

§
Posted: 13-12-2023
Edited: 13-12-2023

Highlight.js version, supporting javascript, css, stylus, and less

https://greasyfork.org/scripts/481945-greasyfork-code-syntax-highlight-by-highlight-js

and this messing with a css making a same content take more space

Post reply

تسجيل الدخول إلى مرحلة ما بعد الرد.