Name(属性名) | Value(默认值) | Description(描述) |
---|---|---|
first-line | 1 | 该属性用来控制起始行的行号。 |
例:first-line: 10 的 HTML 代码及显示效果
HTML 代码
<pre class="brush: cpp; first-line: 10"> this is now tenth line, and this is eleventh! </pre>
显示效果
this is now tenth line, and this is eleventh!
系列文章索引:http://www.cnblogs.com/duxiuxing/archive/2012/05/29/2524243.html