我使用<code>
作为内联代码样式。格式化:
<p>In Unity if you select "Loop" in <code>AudioSource</code>, the song will loop to beginning when it reaches the very end.</p>
结果:
<p>In Unity if you select "Loop" in
<code>AudioSource</code>, the song will loop to beginning when it reaches the very end.</p>
网页仍然可以正常显示,但我不希望HTML文件中的这一新行如何排除某些标记?
"html.format.extraLiners": "head, body, /html",
似乎是为了“包括”而不是排除。
答案 0 :(得分:1)
"html.format.unformatted": "code"
(我发誓我试过了,但是再试一次,它有效......)