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.

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

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!)

Aŭtoro
satanic0258
Ĉiutagaj instaloj
0
Tutaj instaloj
122
Ratings
1 0 0
Versio
0.1.3
Kreita
2021/07/24
Ĝisdatigita
2021/07/31
Size
2,83 kb
Licenco
MIT License
Aplikiĝas al

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

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

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

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

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

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


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