生命如歌
SyntaxHighlighter Evolved Test
刚安装一个代码高亮插件,这下以后复制代码终于不用再改双引号了,我自己第一次用,试一下哈。
#include<iostream>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<a+b<<endl;
}
代码用
[语言]
(insert your code)
[/语言]
就可以了。
SyntaxHighlighter Evolved的readme.txt是这样说的
###Plugin Usage###
Just wrap your code in `[language]`, such as `
code here
` or `
code here
`. For a list of supported languages (all widely used languages are supported), please [click here](http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes).
You do not need to escape HTML entities or anything, just post your code as-is. The plugin will handle the rest.
The shortcodes accept a wide variety of parameters. For details, see the bottom of the plugin's settings page.
###Plugin Usage###
Just wrap your code in `[language]`, such as `
code here
` or `
code here
`. For a list of supported languages (all widely used languages are supported), please [click here](http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes).
You do not need to escape HTML entities or anything, just post your code as-is. The plugin will handle the rest.
The shortcodes accept a wide variety of parameters. For details, see the bottom of the plugin's settings page.