word2013 blog test

测试一:style里的内容能保存吗?:

int        read;
byte *    buf;
int        tries;

int        read;
byte *    buf;
int        tries;

int        read;
byte *    buf;
int        tries;

int        read;
byte *    buf;
int        tries;

int        read;
byte *    buf;
int        tries;

【结果1】style原本内容是"font-family: Consolas;font-size: 13",粘帖后字体大小变成10,发布后变成"font-family: Consolas;font-size: 10pt"

【结果2】style原本内容是"font-family: Consolas;font-size: 12pt",发布后仍为"font-family: Consolas;font-size: 12pt" 。12px不行,会变成9pt

【结果3】font-size:12px不行,会变成9pt;;line-size: 15pt不行,会被省略掉

HTML代码

<div lang="zh">这是中文。</div>

<div lang="en">This is English.</div>

 

    font-style: italic;
    text-align: right;

C++ Code 

1
2
3
4
5
6
7
8
9
10

 

int Foo(bool isBar)
{
    if (isBar)
    {
        bar();
        return 1;
    }
    else
        return 0;
}

 

1
2
3
4

 

int main()
{
<h1>
这里是h1标签</h1><pre>这又是pre标签</pre>
}

 

  1. 苹果
  2. 香蕉
  3. 西瓜

 

呵~还想编个word2013的语法高亮插件呢,瞧把这剪的,都抹没了.......

原文地址:https://www.cnblogs.com/sfqtsh/p/4542940.html