{"id":214911,"date":"2011-05-02T08:00:00","date_gmt":"2011-05-02T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/wp-syntaxhighlighter\/"},"modified":"2012-02-29T10:02:00","modified_gmt":"2012-02-29T10:02:00","slug":"wp-syntaxhighlighter","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/wp-syntaxhighlighter\/","title":{"rendered":"WP SyntaxHighlighter"},"content":{"rendered":"<p>This plugin is code syntax highlighter based on Alex Gorbatchev\u2019s SyntaxHighlighter ver. 3.0.83 and 2.1.382.<\/p>\n<h4>Features<\/h4>\n<ul>\n<li>Based on Alex Gorbatchev\u2019s \u201c<a href=\"http:\/\/alexgorbatchev.com\/SyntaxHighlighter\/\" title=\"SyntaxHighlighter\" rel=\"nofollow ugc\">SyntaxHighlighter<\/a>\u201d JavaScript library.<\/li>\n<li>Including both SyntaxHighlighter 3.0.83 and 2.1.382.(Can switch between 3.0.83 and 2.1.382.)<\/li>\n<li>Built-in TinyMCE buttons and Quicktag button are easy to operate.<\/li>\n<li>Easy to wrap your code in <code>\n<pre><\/code> tag and change options of previously-wrapped code.<\/li>\n<li>Support <a href=\"http:\/\/en.support.wordpress.com\/code\/posting-source-code\/\" title=\"shortcode\" rel=\"nofollow ugc\">shortcode<\/a> also.<\/li>\n<li>Easy to highlight code in comments using buttons.(WordPress 3.0 or higher)<\/li>\n<li>Widget to show highlighted code.<\/li>\n<li>Support <a href=\"https:\/\/wordpress.org\/extend\/plugins\/bbpress\/\" title=\"bbPress\" rel=\"ugc\">bbPress<\/a> plugin 2.0 or higher.<\/li>\n<li>Support \u201c<a href=\"http:\/\/alexgorbatchev.com\/SyntaxHighlighter\/manual\/api\/autoloader.html\" title=\"A key feature\" rel=\"nofollow ugc\">Dynamic Brush Loading<\/a>\u201d which allows to load only necessary brush files dynamically.<\/li>\n<li>Loading JavaScripts on only posts, pages, home, archives, search results and comments which have the code to highlight.<\/li>\n<li>Easy to configure features through the setting panel.<\/li>\n<li>Localization: English(Default), \u65e5\u672c\u8a9e(Japanese, UTF-8).<\/li>\n<\/ul>\n<h4>Supported languages<\/h4>\n<p>AppleScript, ActionScript3, Bash, ColdFusion, C, C++, C#, CSS, Delphi, Diff, Erlang, Groovy, HTML, Java, Java FX, JavaScript, Pascal, Patch, Perl, PHP, Plain text, PowerShell, Python, Ruby, Ruby on Rails, Sass, SCSS, Shell, SQL, VB, VB NET, XHTML, XML and XSLT<\/p>\n<p>Note: A part of languages are only for SyntaxHighlighter 3.0.<\/p>\n<p>You can also use a bundled plugin to add following languages.<\/p>\n<p>Biferno, Clojure, DOS batch file, F#, LISP, Lua(only for SyntaxHighlighter 3.0), MEL Script, Objective-C, PowerCLI, Processing, R, S, S-PLUS, Tcl, Verilog, Vim Script and YAML<\/p>\n<p>For details, see \u201csample\u201d directory.<\/p>\n<p>There are many other languages for \u201cSyntaxHighlighter\u201d. But I can\u2019t bundle them because they are not compatible with this plugin license. If you want, try to search.<\/p>\n<h4>Recommended plugin<\/h4>\n<ul>\n<li>\u201c<a href=\"https:\/\/wordpress.org\/extend\/plugins\/syntaxhighlighter-tinymce-button\/\" title=\"SyntaxHighlighter TinyMCE Button\" rel=\"ugc\">SyntaxHighlighter TinyMCE Button<\/a>\u201d can provide feature-rich tinyMCE buttons for SyntaxHighlighter.<\/li>\n<li>\u201c<a href=\"https:\/\/wordpress.org\/extend\/plugins\/codemirror-for-codeeditor\/\" title=\"CodeMirror for CodeEditor\" rel=\"ugc\">CodeMirror for CodeEditor<\/a>\u201d can highlight sourcecodes in theme and plugin editor and provide a useful toolbar.<\/li>\n<\/ul>\n<h4>Thanks<\/h4>\n<ul>\n<li>\u201cSyntaxHighlighter\u201d libraries was created by <a href=\"http:\/\/alexgorbatchev.com\/SyntaxHighlighter\/\" title=\"Alex Gorbatchev\" rel=\"nofollow ugc\">Alex Gorbatchev<\/a>.<\/li>\n<li>\u201cshBrushBiferno.js\u201d was created by <a href=\"http:\/\/www.sandrobilbeisi.org\/wp\/works\/web-development\/biferno-javascript-brush-for-syntaxhighlighter-shbrush-js\/\" title=\"Sandro Bilbeisi\" rel=\"nofollow ugc\">Sandro Bilbeisi<\/a>.<\/li>\n<li>\u201cshBrushClojure.js\u201d was created by <a href=\"https:\/\/github.com\/sattvik\/sh-clojure\" title=\"Daniel Solano G\u00f3mez\" rel=\"nofollow ugc\">Daniel Solano G\u00f3mez<\/a>.<\/li>\n<li>\u201cshBrushDosBatch-V2.js\u201d and \u201cshBrushDosBatch-V3.js\u201d were created by <a href=\"http:\/\/www.ab-tools.com\/en\/\" title=\"Andreas Breitschopp\" rel=\"nofollow ugc\">Andreas Breitschopp<\/a>. He also developed <a href=\"https:\/\/wordpress.org\/extend\/plugins\/profile\/ab-tools\" title=\"nice plugins\" rel=\"ugc\">nice plugins<\/a>.<\/li>\n<li>F# brush was written by <a href=\"http:\/\/stevegilham.blogspot.com\/2009\/10\/syntaxhighlighter-20-brushes-for-f-and.html\" title=\"Steve Gilham\" rel=\"nofollow ugc\">Steve Gilham<\/a>.<\/li>\n<li>\u201cshBrushLisp.js\u201d was created by <a href=\"http:\/\/blog.knuthaugen.no\/2009\/10\/a-syntaxhighlighter-brush-for-lisp.html\" title=\"Knut Haugen\" rel=\"nofollow ugc\">Knut Haugen<\/a>.<\/li>\n<li>\u201cshBrushLua.js\u201d was created by <a href=\"http:\/\/ikpil.com\/1191\" title=\"\ucd5c\uc775\ud544\" rel=\"nofollow ugc\">\ucd5c\uc775\ud544<\/a>.<\/li>\n<li>\u201cshBrushMel.js\u201d was created by <a href=\"http:\/\/www.skyebook.net\/blog\/2011\/02\/syntaxhighlighter-brush-for-mel-script\/\" title=\"Skye Book\" rel=\"nofollow ugc\">Skye Book<\/a>.<\/li>\n<li>\u201cshBrushObjC.js\u201d was created by <a href=\"http:\/\/www.bukovinski.com\" title=\"Matej Bukovinski\" rel=\"nofollow ugc\">Matej Bukovinski<\/a>.<\/li>\n<li>\u201cshBrushPowerCLI.js\u201d was created by <a href=\"http:\/\/vm-pro.com\/vmware-powercli-syntax-highlighter-brush\/\" title=\"Dan J\" rel=\"nofollow ugc\">Dan J<\/a>.<\/li>\n<li>\u201cshBrushProcessing.js\u201d was created by <a href=\"http:\/\/en.myinventions.pl\/index.php?page=ProcessingSyntaxHighlighting\" title=\"Sebastian Korczak\" rel=\"nofollow ugc\">Sebastian Korczak<\/a>.<\/li>\n<li>The css for \u201cshBrushProcessing.js\u201d was written by <a href=\"http:\/\/en.myinventions.pl\/index.php?page=ProcessingSyntaxHighlighting\" title=\"Sebastian Korczak\" rel=\"nofollow ugc\">Sebastian Korczak<\/a>.<\/li>\n<li>\u201cshBrushR.js\u201d was created by <a href=\"http:\/\/yihui.name\/en\/2010\/09\/syntaxhighlighter-brush-for-the-r-language\" title=\"Yihui Xie\" rel=\"nofollow ugc\">Yihui Xie<\/a>.<\/li>\n<li>\u201cshBrushTcl.js\u201d was created by <a href=\"http:\/\/www.henix-blog.co.cc\/blog\/tcl-syntaxhighlighter-brush.html\" title=\"henix\" rel=\"nofollow ugc\">henix<\/a>.<\/li>\n<li>\u201cshBrushVerilog.js\u201d was created by <a href=\"http:\/\/www.hdelossantos.com\/2010\/05\/20\/verilog-syntaxhighlighter-brush\/\" title=\"Hanly De Los Santos\" rel=\"nofollow ugc\">Hanly De Los Santos<\/a>.<\/li>\n<li>\u201cshBrushVimscript.js\u201d was created by <a href=\"http:\/\/vimcasts.org\/blog\/2010\/04\/syntaxhighlighter-vimscript-brush-and-blackboard-theme\/\" title=\"nelstrom(Drew Neil)\" rel=\"nofollow ugc\">nelstrom(Drew Neil)<\/a>.<\/li>\n<li>\u201cshBrushYaml.js\u201d was created by <a href=\"http:\/\/prendreuncafe.com\/blog\/post\/2009\/07\/26\/YAML-Brush-for-the-SyntaxHighlighter-Javascript-Library\" title=\"Nicolas Perriault\" rel=\"nofollow ugc\">Nicolas Perriault<\/a>.<\/li>\n<li><a href=\"http:\/\/www.judahfrangipane.com\/blog\/\" title=\"Judah\" rel=\"nofollow ugc\">Judah<\/a> revised the awkward descriptive text that was shown before comment form.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This plugin is code syntax highlighter based on SyntaxHighlighter ver. 3.0.83 and 2.1.382.<\/p>\n","protected":false},"author":65,"featured_media":228505,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"WP SyntaxHighlighter - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"This plugin is code syntax highlighter based on SyntaxHighlighter ver. 3.0.83 and 2.1.382."},"footnotes":""},"categories":[1],"tags":[1282,5095,6706,1283,2214],"class_list":["post-214911","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-code","tag-highlight","tag-sourcecode","tag-syntax","tag-syntaxhighlighter"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/214911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=214911"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/214911\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/228505"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=214911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=214911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=214911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}