After solving the four questions about "build classification, tagging, writing summaries," and "setting up EntryName" that were encountered using Windows Live Writer, we solved the fifth problem-the code coloring problem-by the strike.
Code coloring is implemented in the form of live writer plugins, using the "cloud coloring" technology (hehe, following the current trend of cloud computing. Actually just commit the code to server-side processing.
The Code coloring feature is WYSIWYG, the same coloring effect as in the blog background editor.
plug-in installation method
1. Download plugins
: Http://files.cnblogs.com/files/cmt/WindowsLiveWriter.CNBlogs.CodeHighlighter.zip
2. Installing plugins
Unzip the WindowsLiveWriter.CNBlogs.CodeHighlighter.rar and copy the extracted files to the following location:
* 32-bit Windows: "C:\Program files\windows Live\writer\plugins"
* 64-bit Windows: "C:\Program Files (x86) \ Live\writer\plugins"
After copying and running live Writer, open the Insert menu, you will see this plugin, the button name is "Insert Code". See:
How to use plugins
1. Click the "Insert Code" button and the following window appears:
2. Select the corresponding programming language and copy/paste the code into the window, then click "OK" to complete the code coloring. See the results:
Get!
Note: The plug-in is based on the code of Windows Live Writer, source code plugin for Syntaxhighlighter (http://sourcecodeplugin.codeplex.com/).
Publish live writer code coloring plugin Cnblogs.codehighlighter