Using Windows Live writer to write a blog is indeed great, but if you need to paste someCodeIt seems so uncomfortable. Although there are excellent plug-ins such as syntaxhighlight for our use, it is still uncomfortable. It is inferior to the Code insertion tool in the background of the blog Park, it looks uncomfortable.
Syntaxhighlight allows you to customize code styles.
So immediately change the code style that looks comfortable.
Example source code [Http://www.cnblogs.com/suyuan/]
< Div Style = "Background: # eeeeee none repeat scroll 0 0; border-color: # 7f7f7f; border-style: solid; border-width: 1px 1px 3px; width: 900px; overflow: hidden ;" > < Div Style = "Background: # afafaf none repeat scroll 0 0; border-bottom: 1px dotted # eaeaea; font-weight: bold; padding: 4px ;" > < IMG ALT = "Div css xhtml xml example source code" Style = "Margin: 0px 2px-3px 0px ;" SRC = Http://images.cnblogs.com/cnblogs_com/suyuan/quote.gif" /> Example source code< Span Style = "Font-weight: 100; color: # afafaf ;" > [Http://www.cnblogs.com/suyuan/] </ Span > </ Div > < Div Style = "Line-Height: 140%; padding: 6px ;" > < Pre > {Highlighted_source_code} </ Pre > </ Div >
This code is the code style in this article. Because I do not like the scroll bar, I use overflow: hidden, in this way, your code cannot be too wide. You can adjust the code slightly based on the style of your blog.
If you have a better-looking style, release it.
In this way, when we use wlw to write the log insert Code, at least it looks comfortable.