AtCoderCharacterColorizer

Colorize kanji meaning color in statements

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Автор
satanic0258
Щоденних встановлень
0
Всього встановлень
122
Рейтинги
1 0 0
Версія
0.1.3
Створено
24.07.2021
Оновлено
31.07.2021
Size
2,8 кБ
Ліцензія
MIT License
Відноситься до

AtCoderの問題文中における'赤'や'青'などの色を意味する漢字を色付けします.
基本的に背景色を変更しますが,白のみ「字自体を白,縁取りを黒」としています.
(スクリーンショットを参考)

複数の問題で正しく表示されることを確認しましたが,以下の問題が生じるかもしれません.

  • 表示が乱れてしまう
  • 表示が遅れてしまう

また,'水'や'桃'など色を意味する文脈ではないところで色付けしてしまうこともあります.
細かい調整はコード内のreplaceを列挙している部分を弄ることで可能なので,色々試してみてください.

不具合やその他ご意見・ご要望はsatanic0258 - Twitterへいただけると幸いです.

本スクリプトはMITライセンスの元で公開しています.


スクリーンショットの問題文引用元: