高亮显示代码部分


1,高亮显示代码标签(<code>)

For example, <code>&lt;section&gt;</code> should be wrapped as inline.

2,显示代码块

<pre>&lt;p&gt;Sample text here...&lt;/p&gt;</pre>



3,变量

y=m*x+b
<var>y</var> = <var>m</var><var>x</var> + <var>b</var>

4,程序输出

<samp>This text is meant to be treated as sample output from a computer program.</samp>

我觉得输出的字体字体间有点间隔,字体样式比较正式。适用于输出结果。
 
 
原文地址:https://www.cnblogs.com/xiaoyunyun/p/4891777.html