开发者

How do I create a code snippet that appears on the current line?

I'm trying to create an HTML code snippet for vs 2010. The snippet so far is:

<Code Language="html"><![CDATA[<%= this.Resource("$resourceKey$") %>]]></Code>

However when I test this from a view page, the snippet appears on the next line. For example:

<h1>
<%= this.Resource("Blah") %><h1>

I wa开发者_StackOverflow社区nt it to appear on the current line. Can't find any solutions online so can anyone help?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜