2016-01-10
Blogger 程式碼 - 使用 google-code-prettify
- 到 google-code-prettify 頁面下載好檔案,解壓放到自己的網路空間上。
- 修改自己 Blogger 網頁的範本(skin : sunburst),範本 => 編輯HTML , 在 </head> 標籤之前加入
<link href='http://zerouncle.twbbs.org:8000/css/zerouncle /prettify.css' rel='stylesheet' type='text/css' /> <script src='http://zerouncle.twbbs.org:8000/css/zerouncle /prettify.js?autoload=true&skin=sunburst&lang=css' type='text/javascript' /> </head> <body expr:class='&quot;loading&quot; + data:blog.mobileClass' onload="prettyPrint()" >