在版面配置>新增小工具裡放上以下兩個script,擇一擺放
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js?skin=sunburst"></script>
<code class="prettyprint">
程式碼...
</code>
沒有留言:
張貼留言