空行我有一個標籤:刪除在格
<pre>
this is a
this is b
this is c
</pre>
解析通過瀏覽器後,其輸出:
this is a
this is b
this is c
我要的是:
this is a
this is b
this is c
有什麼方式只能使用客戶端方法來做到這一點?
更改<pre>
標記爲<div>
?但它變成了單線,不是我想要的。
添加css?我沒有找到一種風格來實現。
或使用javascript?
PS:在<pre>
標籤的內容由液體模板{{ post.content}}
生成的,所以是不可變的。
做工不錯,謝謝〜 – kyshel