{"id":349130,"date":"2026-08-11T05:28:18","date_gmt":"2026-08-11T05:28:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/code-enhance\/"},"modified":"2026-08-11T05:28:06","modified_gmt":"2026-08-11T05:28:06","slug":"zeddotes-enhanced-code-block","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/zeddotes-enhanced-code-block\/","author":7581994,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.0.3","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Zeddotes Enhanced Code Block","header_author":"Zain Syed","header_description":"Extends the core Code block with language selection (Prism) and a configurable copy button.","assets_banners_color":"","last_updated":"2026-08-11 05:28:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/zeddotes\/zeddotes-enhanced-code-block","header_author_uri":"https:\/\/github.com\/zeddotes","rating":0,"author_block_rating":0,"active_installs":0,"downloads":27,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"zeddotes","date":"2026-08-11 05:28:06"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1214,2738,148076,7527,4609],"plugin_category":[],"plugin_contributors":[275098],"plugin_business_model":[],"class_list":["post-349130","plugin","type-plugin","status-publish","hentry","plugin_tags-code","plugin_tags-copy","plugin_tags-gutenberg","plugin_tags-prism","plugin_tags-syntax-highlighting","plugin_contributors-zeddotes","plugin_committers-zeddotes"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/zeddotes-enhanced-code-block.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Zeddotes Enhanced Code Block adds inspector controls to the WordPress core Code block:<\/p>\n\n<ul>\n<li>Language select with Prism.js highlighting in the editor and on the frontend<\/li>\n<li>Optional line numbers<\/li>\n<li>Tab key indents inside the block (Shift+Tab outdents); optional spaces instead of tabs<\/li>\n<li>Configurable tab size (2 \/ 4 \/ 8)<\/li>\n<li>Optional copy button before or after the code block, aligned left \/ center \/ right (or hidden)<\/li>\n<\/ul>\n\n<p>No separate block type \u2014 authors keep using the standard Code block.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/zeddotes-enhanced-code-block<\/code> (or this directory name).<\/li>\n<li>Run <code>npm install<\/code> and <code>npm run build<\/code> if <code>build\/<\/code> is not present.<\/li>\n<li>Activate the plugin through the Plugins screen.<\/li>\n<li>Insert a Code block and open the <strong>Zeddotes Enhanced Code Block<\/strong> panel in the sidebar.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20replace%20the%20core%20code%20block%3F\"><h3>Does this replace the core Code block?<\/h3><\/dt>\n<dd><p>No. It extends <code>core\/code<\/code> via block filters.<\/p><\/dd>\n<dt id=\"where%20does%20highlighting%20run%3F\"><h3>Where does highlighting run?<\/h3><\/dt>\n<dd><p>In the block editor and on the frontend, via a bundled Prism.js build.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release: language select, Prism highlighting, configurable copy button.<\/li>\n<\/ul>","raw_excerpt":"Extends the core Code block with language selection (Prism.js) and a configurable copy button.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/349130","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=349130"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zeddotes"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=349130"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=349130"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=349130"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=349130"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=349130"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=349130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}