使用word2010发布博客到博客园

 

word使用

 

代码高亮

下载插件:https://files.cnblogs.com/default/SyntaxHighlighter4Word.zip

进入SyntaxHighlighter4Word\bin\word2010,双击Kong.SyntaxHighlighter.Word2010.vsto

重启word

进入

 

#cnblogs_post_body ol
 {
     border: 1px dotted #000066;
     line-height: 150%;
     word-break: break-word;
     font-family: Consolas, Verdana !important;
     border-radius: 5px;
     width: 90%;
     background-color: #E3E3FF;
     list-style-position: outside;
     margin-left: 0px;
 }
 #cnblogs_post_body ol font
 {
     font-size: 12px !important;
 }
 #cnblogs_post_body ol li
 {
     background-color: #fff;
     padding-left: 5px;
     border-left: 1px solid #8A8AFF;
     margin-left: 5px !important;
 }
 #cnblogs_post_body ol li:nth-child(even)
 {
     background-color: #f5f5f5;
 }

 

效果:

 

posted @ 2019-05-05 15:50  遥远2  阅读(120)  评论(0编辑  收藏  举报