2018年8月31日 星期五

如何在 Bolgger 發佈 Source Code 顯示的更清晰

Uese this
http://codeformatter.blogspot.tw/

Code:
 #ifdef SEND_TEST  
 if (getTestCmd())  
 {  
     ....
 }  
 #endif  

Other:
去版面設定,最下方點選 新增小工具,彈出視窗後在內容填入
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js?lang=c&amp;skin=sons-of-obsidian"></script>

在文章編輯中加入CLASS,
<pre class="prettyprint linenums"> your code
...
</pre>

就是

沒有留言:

張貼留言