错误的格式
我希望是下面的这种格式,请问怎么改?
使用淘宝源安装
MAC系统切换把npm的安装源切换成淘宝使用npm就可以了
<pre>
<code>
使用淘宝源安装
MAC系统切换把npm的安装源切换成淘宝使用npm就可以了
npm install vue-router
Windows系统使用npm指令会有出现访问权限的问题,建议使用cnpm直接安装就好
cnpm install vue-router -save
cnpm install vuex --save
npm install --registry=https://registry.npm.taobao.org common-helper-es6
npm install --registry=https://registry.npm.taobao.org seneca --save-dev
npm install -g nrm --registry=https://registry.npm.taobao.org
</code>
<code class="java">
int a = 1;
</code>
<code class="javascript">
let test = arg => { }
console.log(arg);
</code>
</pre>
pre
加个样式white-space:pre-line
试试ps:貌似默认就是顶格的