I have done some researching on how to use code blocks in blogger and I found this awesome tutorial article in Chinese. I tried the steps they provide, and it work perfectly. So I'm just gonna make the steps more clear with some screen shots! What you should do Go to Prismjs.com and download both js and css files of the theme you like Paste the content of the css file to: Theme->Customise->Advanced->Add Css->Add custom CSS Wrap the content of prism.js with <script></script> Paste it to Layout->Sidebar->Add a Gadget->HTML/Javascript How to use when you write the article, go to html mode and paste the following dom. <pre><code class="language-javascript"> ... Your code here ... </code></pre> it will looks like this: ... Your code here ... and with some code content: let helloString='Hello World!'; console.log(helloString); console.log('Yoda!'); There ...
閱讀後若不做筆記,常常忘了醍醐灌頂的醒悟,所以在這裡將看過的書,盡可能都做些筆記,但其實八成的書仍然沒時間做筆記。 除此之外,偶爾也寫寫生活上的啟發,或是自己對於世界的想法。 Here I share my notes and thoughts on books I read, and sometimes my thoughts about things beyond books, or even better about myself. I won't update this blog too often tho...