どうも、デフォルトのテーマではline1も、line2もwhiteになっているようで、メリハリがないです
shCoreDefault.cssとshThemeDefault.cssのファイルを少々編集する必要があります
これを以下のように色を指定すると互い違いの背景色になります
.syntaxhighlighter { background-color: white !important;}.syntaxhighlighter .line.alt1 { background-color: white !important;}.syntaxhighlighter .line.alt2 { background-color: white !important;}
.syntaxhighlighter { background-color: white !important;}.syntaxhighlighter .line.alt1 { background-color: #FFF !important;}.syntaxhighlighter .line.alt2 { background-color: #EEE !important;}
これで、行間がはっきりして見やすくなります。
0 件のコメント :
コメントを投稿