{"id":5427,"date":"2009-04-29T03:51:37","date_gmt":"2009-04-29T03:51:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-syntax-button\/"},"modified":"2009-06-18T11:16:53","modified_gmt":"2009-06-18T11:16:53","slug":"wp-syntax-button","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-syntax-button\/","author":2635084,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"trunk","tested":"2.8","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"WP-Syntax Button","header_author":"Olivier Cecillon","header_description":"","assets_banners_color":"","last_updated":"2009-06-18 11:16:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.blogoolic.fr\/wp-syntax-button","header_author_uri":"http:\/\/olivier.cecillon.fr","rating":0,"author_block_rating":0,"active_installs":40,"downloads":7381,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1573768","resolution":"2","location":"plugin","width":399,"height":334},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1573768","resolution":"1","location":"plugin","width":134,"height":29}},"screenshots":{"1":"This is a new button on panel","2":"This is what happens if you press it"}},"plugin_section":[],"plugin_tags":[1214,4444,2207,1719,71214],"plugin_category":[46],"plugin_contributors":[85497,83691],"plugin_business_model":[],"class_list":["post-5427","plugin","type-plugin","status-closed","hentry","plugin_tags-code","plugin_tags-highlighter","plugin_tags-syntax","plugin_tags-tinymce","plugin_tags-wp-syntax","plugin_category-editor-and-writing","plugin_contributors-eterneige","plugin_contributors-homolibere","plugin_committers-eterneige"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-syntax-button.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-syntax-button\/trunk\/screenshot-1.jpg?rev=1573768","caption":"This is a new button on panel"},{"src":"https:\/\/ps.w.org\/wp-syntax-button\/trunk\/screenshot-2.jpg?rev=1573768","caption":"This is what happens if you press it"}],"raw_content":"<!--section=description-->\n<p>This plugin is designed to work with WP-Syntax (http:\/\/wordpress.org\/extend\/plugins\/wp-syntax\/).\nIt is in fact a copy\/paste of CodeColorer TinyMCE Button adapted for wp-syntax, but it takes in consideration that wp-syntax allows you to specify the first line number.<\/p>\n\n<p>This plugin also corrects a disagreement when switching editor mode. When you use wp-syntax you have to write in HTML editor since line argument is removed by Visual Editor... This is no longer the case.<\/p>\n\n<p>Note that now, you \"must\" write your code in Visual Editor : the plugin automatically adds <code>escaped=\"true\"<\/code> to &lt;pre&gt; tag. If you write your code in HTML editor, you have to encode HTML entities.<\/p>\n\n<h3>TODO<\/h3>\n\n<ol>\n<li>Make this plugin universal for any syntax highlighter plugin<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use new button in TinyMCE panel<\/li>\n<\/ol>","raw_excerpt":"This plugin is based on Nick Remeslennikov&#039;s CodeColorer TinyMCE Button, which I have only modified to work with WP-Syntax.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5427"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/eterneige"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5427"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5427"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5427"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5427"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5427"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}