博客功能插件测试

用来测试一下博客的相关插件,主要是高亮插件和代码插件,表格样式还有公式的显示。

代码高亮测试

HTML样式代码

<pre class="prettyprint linenums">
#include<iostream>;
using namespace std;

int main()
{
    cout<<"Hello World!"<<endl;
    return 0;
}
</pre>

Markdown样式代码

#include<iostream>
using namespace std;

int main()
{
    cout<<"Hello World!"<<endl;
    return 0;
}

数学公式测试

测试一下数学公式能否正常显示。

When a0a \ne 0, there are two solutions to ax2+bx+c=0ax^2 + bx + c = 0 and they are

x=b±b24ac2a.x = {-b \pm \sqrt{b^2-4ac} \over 2a}.
ex=_n=0xnn!=lim_n(1+x/n)ne^x = \sum\_{n=0}^\infty \frac{x^n}{n!} = \lim\_{n\rightarrow\infty} (1+x/n)^n

表格测试

head1 head1 head1head2 head2 head2head3 head3 head3head4 head4 head4
row1text1row1text3row1text3row1text4
row2text1row2text3row2text3row2text4