我使用 google-code-prettify 作为我的语法荧光笔,但我遇到了 asp.net 标签的问题,prettify 无法识别它,所以代码如下:
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Button ID="SubmitButton"
runat="server"
Text="partial postback"
onclick="SubmitButton_Click" />
<a href="#" id="clientClick"><span>jQuery</span></a>
</ContentTemplate>
</asp:UpdatePanel>
被忽略。我注意到 stackoverflow 也在使用 prettify。所以我想知道他们是怎么做到的?