對投影片的程式碼加上色彩

在「Syntax highlighting in presentations」這邊用了一些迂迴一點的方法來加上色彩:

pygmentize -O style=xcode -o output.rtf input.js

這邊介紹的方式是用 Pygments 把程式碼轉成 rtf,然後再 copy & paste 貼到投影片上,有點硬但還算 okay 的方案吧...

This entry was posted in Computer, Murmuring, Programming, Software and tagged , , , , , , . Bookmark the permalink.

One Response to 對投影片的程式碼加上色彩

Leave a Reply

Your email address will not be published. Required fields are marked *