zoukankan      html  css  js  c++  java
  • 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的语法高亮插件呢,瞧把这剪的,都抹没了.......

  • 相关阅读:
    23种设计模式之责任链模式
    23种设计模式之中介者模式
    23种设计模式之代理模式
    23种设计模式之原型模式
    23种设计模式之模板方法模式
    23种设计模式之建造者模式
    23中设计模式之抽象工厂模式
    批处理产生001到999之间的数字
    批处理随机显示星期几
    批处理简易密码登录
  • 原文地址:https://www.cnblogs.com/sfqtsh/p/4542940.html
Copyright © 2011-2022 走看看