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.