"Go" Windows Live Writer Code plugin Makeover

Source: Internet
Author: User

source code and plug-ins are in the back, if you do not want to see my God-like can be directly to the post download

One. Find Plugins

In the use of Windows Live Writer often use the ability to insert code, according to the blog Garden Tutorial, respectively used:

WindowsLiveWriter.CNBlogs.CodeHighlighter and Sourcecodeplugin_version_1.1.zip are unsatisfactory.

Can only find another, so I found it: Windows Live Writer plugin-source Code Formatter

Http://www.amergerzic.com/post/WLWSourceCodePlugin.aspx "Don't hurry, the back is more wonderful",

This plugin supports: Staggered line style and check style, feel very good, although it is English but because the plug-in use is relatively simple to ignore.

Two. Using plugins

Just download and install it right now.

But when I inserted a piece of code, I found that the code that was eventually inserted into the article was significantly more spaced.

Then Baidu then find also someone put on this plug-in complaints, but there is no solution, so went to the official website, found behind the source download (like a)

Three. Changing plugins

Programmer not afraid of tired, since there is the source code, change, first change the style, after changing the HTML string, can not reach the effect, however, in the continuous efforts still found, is the return of the problem "\ r \ n" Here by the character "\ n" to split the string, but retained the "\ r" and each line of code embedded in pre> tag, so "\ r" was retained to automatically generate a new line, so the whole sense of spacing has become higher, so 32 changed.

, followed by the compilation, using the installed file to introduce Wilco.SyntaxHighlighter.dll, and found in the Windows Live wrter installation directory WindowsLive.Writer.Api.dll The introduction of the project, compiled through. Then copy the file shown from the build file and put it in the directory shown in

Then take a look at the effect, (I have the interface fixed a bit ^_^) the code is displayed correctly.

Finally, the generated libraries and source code are put here

Dynamic Library: Http://files.cnblogs.com/files/twzy/WLWSourceCodePluginLib.zip

Source: Http://files.cnblogs.com/files/twzy/WLWSourceCodePlugin.zip

"Go" Windows Live Writer Code plugin Makeover

Related Article

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.