{"id":5439,"date":"2016-05-07T01:01:13","date_gmt":"2016-05-07T01:01:13","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/code-block-enabler\/"},"modified":"2009-05-03T22:01:31","modified_gmt":"2009-05-03T22:01:31","slug":"code-block-enabler","status":"closed","type":"plugin","link":"https:\/\/es.wordpress.org\/plugins\/code-block-enabler\/","author":2649606,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"","stable_tag":"trunk","tested":"2.7.1","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"","header_author":"","header_description":"","assets_banners_color":"","last_updated":"2009-05-03 22:01:31","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1727,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-5439","plugin","type-plugin","status-closed","hentry","plugin_committers-ahmedbm"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/code-block-enabler.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin is essentially an integration of two plugins with some modifications.<\/p>\n <ul>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/code-markup\/\">Code Markup<\/a><\/li>\n<li><a href=\"http:\/\/www.deanlee.cn\/wordpress\/google-code-prettify-for-wordpress\/\">Google Prettify for wordpress<\/a><\/li>\n<\/ul>\n <p>I also included the latest version of Google Prettify to the plugin (Jan-8-2009)<\/p>\n USAGE  <ol>\n<li>Enclose any code inside a <code>&lt;code&gt;<\/code> block.<\/li>\n<li>Use <code>&lt;code markup=\"...\" lang=\"...\"&gt;<\/code> to specify appearance of code. *Include any HTML markup you like in the code, for example to add emphasis to certain sections. *Separate <code>&lt;code&gt;<\/code> blocks should be nested within a <code>&lt;pre&gt;<\/code> block to preserve whitespace.<\/li>\n<li>If you want to fine-tune how Code Markup treats your code, use the markup and lang attributes on the code tag to specify how Code Markup should handle it.<\/li>\n<\/ol>\n <p>* <code>&lt;code&gt;<\/code> or <code>&lt;code markup=\"default\"&gt;<\/code> allows common HTML tags to be rendered, and displays everything else exactly as written. * <code>&lt;code markup=\"none\"&gt;<\/code> displays content exactly as written - no markup is rendered. * <code>&lt;code markup=\"all\"&gt;<\/code> renders content as HTML - all markup is rendered. * <code>&lt;code markup=\"em strong a\"&gt;<\/code> treats <code>&lt;em&gt;<\/code>, <code>&lt;strong&gt;<\/code> and <code>&lt;a&gt;<\/code> tags as HTML markup - everything else is displayed exactly as written. You can put whatever tags you like in the markup attribute, separated by spaces. As a special case, you can include the comment tag - this means that HTML comments <code>&lt;!-- like this --&gt;<\/code> will be rendered as normal HTML comments (i.e. not displayed). * <code>&lt;code lang=\"html\"&gt;<\/code> or <code>&lt;code lang=\"xhtml\"&gt;<\/code> displays content exactly as written, the same as <code>&lt;code markup=\"none\"&gt;<\/code>. 1. The markup attribute overrides the lang attribute. 1. Separate <code>&lt;code&gt;<\/code> blocks should be nested within a <code>&lt;pre&gt;<\/code> block to preserve whitespace.<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n <ol>\n<li>Upload the <code>code_block_enabler\/<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Write posts\/pages while using the <code>&lt;code&gt;<\/code> block <\/li>\n<li>Go to the Options page and click Writing. Make sure \"WordPress should correct invalidly nested XHTML automatically\" is NOT checked. (Otherwise it may do funny things to your code listings.)<\/li>\n<li>Go to the Users page and click Your Profile. Make sure \"Use the visual rich editor when writing\" is NOT checked. (The visual rich editor does not like Code Block Enabler.)<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>None yet, but feel free to check the <a href=\"http:\/\/www.digitaladept.com\/projects\/wordpress-plugin-code-block-enabler\/\">Projects Page<\/a> on DigitalAdept.com. There might have been issues posted that i havn't gotten to posting here yet!<\/p>","raw_excerpt":"The Code Block Enabler is a plugin that allows code blocks within Wordpress pages\/posts and also colorizes the output using Google Prettify.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5439","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5439"}],"author":[{"embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ahmedbm"}],"wp:attachment":[{"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5439"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5439"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5439"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5439"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5439"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}