Test the WLM code highlight plug-in

Source: Internet
Author: User

There are a bunch of WLM plug-ins in the computer, which are useful and difficult to use. I don't know which one to install every heavy installation or new installation, simply save them all and compare them later. In a uniform example, some plug-ins are used, and some are too lazy to find them. They are all on my hard disk and all are given the file names of the installation packages, because the product names are similar.

1, syntaxhighlighter. MSI Co., http://wlwsyntaxhighlighter.codeplex.com/

You can preview and edit it in the pop-up window. The preview is beautiful, but the page does not have any effect at all, because external JS is required to be pulled down.

Function AddFavorite (Surl, stitle) {try {window. external. addFavorite (Surl, stitle);} catch (e) {try {window. sidebar. addpanel (stitle, Surl, "") ;}catch (e) {alert ("failed to add to favorites, please add with Ctrl + D ");}}}

2, codesnippetsetup. MSI

Can be previewed, cannot be edited

   1: function AddFavorite(sURL, sTitle) {

   2:     try {

   3:         window.external.addFavorite(sURL, sTitle);

   4:     }

   5:     catch (e) {

   6:         try {

   7:             window.sidebar.addPanel(sTitle, sURL, "");

   8:         }

   9:         catch (e) {

10: Alert ("failed to add to favorites, please add with Ctrl + D ");

  11:         }

  12:     }

  13: }

3, geshi. MSI

Network connection is required, and the connection fails...

4. insert code for Windows Live writer. MSI

Few languages are supported, so you can preview them. If you set the color switch for the line, the rows with the background color cannot be edited.

   1:  function AddFavorite(sURL, sTitle) {
   2:      try {
   3:          window.external.addFavorite(sURL, sTitle);
   4:      }
   5:      catch (e) {
   6:          try {
   7:              window.sidebar.addPanel(sTitle, sURL, "");
   8:          }
   9:          catch (e) {
10: Alert ("failed to add to favorites, please add with Ctrl + D ");
  11:          }
  12:      }
  13:  }

5, prabir. wlw. syntaxhiglighter0v0.2.0.0. MSI

One of the many plug-ins I have used has good results, but it does not support previewing in WLM.

Function AddFavorite (Surl, stitle) {try {window. external. addFavorite (Surl, stitle);} catch (e) {try {window. sidebar. addpanel (stitle, Surl, "") ;}catch (e) {alert ("failed to add to favorites, please add with Ctrl + D ");}}}

6. vspaste. MSI does not respond...

7. wlwgeshiblock. MSI

No preview, or even no effect

[Code lang = "JavaScript"]
Function AddFavorite (Surl, stitle ){
Try {
Window. External. AddFavorite (Surl, stitle );
}
Catch (e ){
Try {
Window. Sidebar. addpanel (stitle, Surl ,"");
}
Catch (e ){
Alert ("failed to add to favorites, please add with Ctrl + D ");
}
}
}
[/Code]

8, syntax4writer. MSI

You cannot preview or edit it.

Function AddFavorite (Surl, stitle) {try {window. external. addFavorite (Surl, stitle);} catch (e) {try {window. sidebar. addpanel (stitle, Surl, "") ;}catch (e) {alert ("failed to add to favorites, please add with Ctrl + D ");}}}
 
If the above page does not show any effect, it is estimated that external JS will be cited, so I am too lazy to try it.

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.