{"id":12832,"date":"2011-04-07T10:45:57","date_gmt":"2011-04-07T10:45:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/syntax-highlighter-with-add-button-in-editor\/"},"modified":"2014-04-27T16:22:43","modified_gmt":"2014-04-27T16:22:43","slug":"syntax-highlighter-with-add-button-in-editor","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/syntax-highlighter-with-add-button-in-editor\/","author":7793316,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.5.0","stable_tag":"2.5.0","tested":"3.8.0","requires":"2.0","requires_php":"","requires_plugins":"","header_name":"SyntaxHighlighter++","header_author":"leo108","header_description":"","assets_banners_color":"","last_updated":"2014-04-27 16:22:43","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/leo108.com\/","header_plugin_uri":"http:\/\/leo108.com\/pid-1304.asp","header_author_uri":"http:\/\/leo108.com\/","rating":5,"author_block_rating":0,"active_installs":70,"downloads":13159,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"2.3.1":"<p>Important ! Please Reactive This Plugin After Upgrade .<\/p>","2.3.0":"<p>Important ! Please Reactive This Plugin After Upgrade .<\/p>","2.2.0":"<p>Important ! Please Reactive This Plugin After Upgrade .<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1","2.0","2.0.1","2.0.2","2.1.0","2.2.0","2.3.0","2.3.1","2.4.0","2.4.1","2.4.2","2.5.0"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1538952","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1538952","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1538952","resolution":"1","location":"plugin"}},"screenshots":{"1":"Your code will be similar to this in you article.","2":"The textarea and button in your post page .","3":"Settings ."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1214,1332,4444,2207,18593],"plugin_category":[46],"plugin_contributors":[85587],"plugin_business_model":[],"class_list":["post-12832","plugin","type-plugin","status-publish","hentry","plugin_tags-code","plugin_tags-editor","plugin_tags-highlighter","plugin_tags-syntax","plugin_tags-syntax-highlight","plugin_category-editor-and-writing","plugin_contributors-leo108","plugin_committers-leo108"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/syntax-highlighter-with-add-button-in-editor.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/syntax-highlighter-with-add-button-in-editor\/trunk\/screenshot-1.png?rev=1538952","caption":"Your code will be similar to this in you article."},{"src":"https:\/\/ps.w.org\/syntax-highlighter-with-add-button-in-editor\/trunk\/screenshot-2.png?rev=1538952","caption":"The textarea and button in your post page ."},{"src":"https:\/\/ps.w.org\/syntax-highlighter-with-add-button-in-editor\/trunk\/screenshot-3.png?rev=1538952","caption":"Settings ."}],"raw_content":"<!--section=description-->\n<p>This plugin not only provides you syntax-highlighter , but also add a textarea and a button in the post page .\nyou just have to select the language , add code to the textarea and click the 'OK' button , and you will get\nyour code highlighted in your atricle.\n\u8fd9\u4e2a\u63d2\u4ef6\u4e0d\u4ec5\u4ec5\u63d0\u4f9b\u4e86\u4ee3\u7801\u9ad8\u4eae\uff0c\u8fd8\u5728\u7f16\u8f91\u9875\u9762\u589e\u52a0\u4e86\u4e00\u4e2a\u4ee3\u7801\u6846\u548c\u4e00\u4e2a\u6309\u94ae\uff0c\u4f60\u53ea\u8981\u9009\u62e9\u597d\u4f60\u7684\u4ee3\u7801\u8bed\u8a00\uff0c\u628a\u4ee3\u7801\u8d34\u5165\u4ee3\u7801\u6846\uff0c\n\u518d\u70b9\u51fb\u4e00\u4e0bOK\u6309\u94ae\uff0c\u4f60\u7684\u5e26\u9ad8\u4eae\u7684\u4ee3\u7801\u5c31\u4f1a\u88ab\u63d2\u5165\u5230\u6587\u7ae0\u91cc\u53bb\u3002<\/p>\n\n<p>Supported Languge:\n    Bash\n    C\n    C++\n    C#\n    CSS\n    Delphi\n    Diff\n    Erlang\n    Groovy\n    HTML\n    Java\n    Javascript\n    Perl\n    PHP\n    PowerShell\n    Python\n    Ruby\n    SQL\n    VisualBasic\n    VB.NET\n    XML<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload all files to your Wordpress plugins directory, usually <code>wp-content\/plugins\/<\/code> .<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Done.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p><a href=\"http:\/\/leo108.com\/pid-1304.asp\">Leave your FAQ<\/a><\/p>\n\n<!--section=changelog-->\n<p>2.5.0: Fix display problem in 'Media'-&gt;'edit'<\/p>\n\n<p>2.4.2: Add some editor support , thanks to huangzhiqun(http:\/\/huangzhiqun.com\/).<\/p>\n\n<p>2.4.1: Fix the bug , when you change the tagName , it doesn't work.<\/p>\n\n<p>2.4.0: Fix some bugs after update .<\/p>\n\n<p>2.3.1:Adjust some syntax .<\/p>\n\n<p>2.3.0:Roll back the SyntaxHighlighter core to version 2 , but preserve the AutoLoader.js to load .js file dynamically .<\/p>\n\n<p>2.2.0:Update SyntaxHighlighter to version 3.0.83 &amp;&amp; add option page .<\/p>\n\n<p>2.1.0:Compress css and js files to make it faster .<\/p>\n\n<p>2.0.3:Change the Core.css to make line auto-break , but still has some problem with firefox .<\/p>\n\n<p>2.0.2:Fix a bug .<\/p>\n\n<p>2.0.1:Add 'Other' type .<\/p>\n\n<p>2.0:Improve the compatibility to the new version of wordpress .<\/p>\n\n<p>1.1.0:Improve the compatibility to all editors.<\/p>","raw_excerpt":"You can add code with syntax highlighter easily when you are editing an article. \u65b9\u4fbf\u7684\u4ee3\u7801\u9ad8\u4eae\u63d2\u4ef6\u3002","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/12832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=12832"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/leo108"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=12832"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=12832"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=12832"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=12832"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=12832"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=12832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}