Test: Add source code coloring plug-in for WLW WindowsLiveWriter.CNBlogs.CodeHighlighter

Source: Internet
Author: User

Test1: Test the C language.

// hello.c#include <stdio.h>#define PI 3.14int main (intChar*  Argv[]) {    printf ("Hello, world!\n");     return 0 ;}

Test2: Test java.

// Hello.java  Public class hello{    protectedstaticint n=3.14;     protected String str= "Hello, world!" ;      Public void Static Main (string[] args) {        System.out.println (str);}    }

Plugin: WindowsLiveWriter.CNBlogs.CodeHighlighter.rar

Plug-in Installation method: Decompression WindowsLiveWriter.CNBlogs.CodeHighlighter.rar get WindowsLiveWriter.CNBlogs.CodeHighlighter.dll, and put it to the following location:

    • 32-bit Windows: "C:\Program files\windows Live\writer\plugins"
      64-bit Windows: "C:\Program Files (x86) \ Windows Live\writer\plugins"

Restart WLW, you can see the "Insert Code ..." button on the "Insert (I)" menu, then you can select the language after clicking.

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.