如何在CodeProject中格式化内联代码运算符? [英] How do I format inline code operator in CodeProject?
本文介绍了如何在CodeProject中格式化内联代码运算符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果可以格式化代码内联句子,
If it possible to format code inline the sentence,
bind
例如没有换行?
< b>我尝试了什么:
我试图用编辑器功能手动格式化它
for example without new line?
What I have tried:
I've tried to format it manually with editor funcionality
推荐答案
不使用代码小部件,没有。
但你可以使用var
小部件代替:
句子var
没有换行符。
你可以欺骗它:
Not using the Code widget, no.
But you can using thevar
widget instead:
The sentencevar
is without a newline.
You can cheat it:
<span style="background-color:#fbedbb">Code</span>
我是如何在第一句话中完成这个单词的。但是,每当你使用代码小部件或进行语法高亮显示时< pre>
标签,它形成一个块,并且总是以新行结束。
Is how I did the word in the first sentence.However, whenever you engage the syntax highlighter with the Code widget or <pre>
tags, it forms a block, and that always ends with a new line.
这篇关于如何在CodeProject中格式化内联代码运算符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文