Ghost代码高亮

既然是大水码农写博客,免不了贴一些代码片段。

今天我才注意到,Ghost默认不带代码高亮。不过呢,Ghost官方已经给出了方法,而且一下给出了两种。

A complete guide to code snippets
Developers write code. Some developers write about writing code. But when they try to share that code on the web, everything that makes code more readable – like formatting and syntax highlighting – is gone!

我选择最简单的第一种。

Done。

Tesing

#include <stdio.h>

int main(char *argc[], int argv) {
    printf("%s\n", "Hello Loser!");
    return 0;
}

C是我入门编程的第一门编程语言,也是我最敬畏的一门编程语言。

最开始用C模仿着做NES模拟器,只是为了满足小时候的好奇心。虽然最终耗时了几个月,但是做完之后对计算机的认识又深入几层。哦(蜡笔小新),原来这就是Computer

之后移植到android,你也许知道SDK,但是NDK,呵呵,这通折腾。


让我想起小时候,在炎炎夏日和小伙伴们一起玩游戏机的快乐。