Syntax Hightlighter Evolvedサンプル

導入はこちら

自分が利用する範囲のsyntaxをここにまとめておく。
今のところ使いたいものは、c, shell, text。
オプションはfirstline, light。

これ、行表示の状態でコピペすると行番号もコピーされて残念なんだけど、解決する方法はないか。

C言語通常

1
2
3
4
5
int main(int argc, char** argv)
{
    printf("Hello World!");
    return 0;
}

C言語行表示

10
11
12
13
14
int main(int argc, char** argv)
{
    printf("Hello World!");
    return 0;
}

C言語簡易モード

int main(int argc, char** argv)
{
    printf("Hello World!");
    return 0;
}

shell

1
2
3
echo test > /dev/null
aptitude search `echo libgnu`
cd ~; cd -

テキスト

1
はむっ

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>