Syntax Hightlighter Evolvedサンプル

導入はこちら

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

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

C言語通常

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

C言語行表示

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

C言語簡易モード

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

shell

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

テキスト

はむっ

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>