0

当您在 HTML (ASP) 中打开页面时,是否仍然显示背景颜色,仅在 ASP 代码中应用此颜色,与记事本 ++ 相同?

记事本:

在此处输入图像描述

4

1 回答 1

0

哇。这真的很简单:

只需将其添加到您的配色方案中:

<dict>
            <key>scope</key>
            <string>punctuation.section.embedded.begin.asp</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#000000</string>
                <key>background</key>
                <string>#FFCC00</string>
            </dict>
        </dict>
        <dict>
            <key>scope</key>
            <string>punctuation.section.embedded.end.asp</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#000000</string>
                <key>background</key>
                <string>#FFCC00</string>
            </dict>
        </dict>

        <dict>
            <key>scope</key>
            <string>source.asp.embedded.html</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#ffffff</string>
                <key>background</key>
                <string>#326f76</string>
            </dict>
        </dict>
于 2013-08-19T13:13:07.320 回答