打開html模式 <pre class="brush:py;">python代碼放在這裏</pre> 搞定!javascript
或者<pre class="brush:js;">javascript代碼放在這裏</pre>以此類推。html
舉個栗子:java
<pre class="brush:py;">rangelist=range(10)
print(rangelist)
for number in rangelist:
print(rangelist[number])</pre>python
rangelist=range(10) print(rangelist) for number in rangelist: print(rangelist[number])
<pre class="brush:js;">if (brushes == null){
for (var brushName in sh.brushes){
var brush = sh.brushes[brushName],
aliases = brush.aliases;
}
sh.vars.discoveredBrushes = brushes;
}</pre>htm
if (brushes == null) { for (var brushName in sh.brushes) { var brush = sh.brushes[brushName], aliases = brush.aliases; } sh.vars.discoveredBrushes = brushes; }