【问题标题】:Paste HTML between <code><pre></pre></code> in Visual Studio 2013在 Visual Studio 2013 中的 <code><pre></pre></code> 之间粘贴 HTML
【发布时间】:2015-06-21 13:28:27
【问题描述】:

我正在为青年夏令营开发 HTML 课程,我想从源视图复制 HTML sn-ps,然后将它们粘贴到 &lt;code&gt;&lt;pre&gt;&lt;/pre&gt;&lt;/code&gt; 之间的设计视图中,并让 Visual Studio 2013 自动将 &amp;lt; &amp;gt; 替换为&amp;lt; &amp;gt; 相应地。

我研究并找到了文章Paste Operations in the HTML Designer of Visual Web Developer,它表明编辑菜单中有一个名为粘贴替代的附加选项,但正如您在此屏幕截图中看到的那样,没有这样的选项。是否可以更改设置或添加此类选项?

【问题讨论】:

    标签: visual-studio-2013


    【解决方案1】:

    我不确定您的 Visual Studio 特定功能,但试试这个: http://r12a.github.io/apps/conversion/

    【讨论】:

      【解决方案2】:

      “复制为 HTML”vs2013 扩展会对您有所帮助吗?

      https://visualstudiogallery.msdn.microsoft.com/98fef791-eb65-4cdf-bf84-077b98c234cf

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2010-12-08
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-01-03
        • 1970-01-01
        相关资源
        最近更新 更多