Send a window live writer plug-in syntaxhighlight code style

Source: Internet
Author: User
Tags xml example

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.