{"id":11379,"date":"2010-12-03T23:29:07","date_gmt":"2010-12-03T23:29:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/code-prettify\/"},"modified":"2022-10-12T09:17:45","modified_gmt":"2022-10-12T09:17:45","slug":"code-prettify","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/code-prettify\/","author":422650,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5.1","stable_tag":"trunk","tested":"6.0.11","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Code Prettify","header_author":"Kaspars Dambis","header_description":"","assets_banners_color":"161e19","last_updated":"2022-10-12 09:17:45","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/kasparsd\/code-prettify","header_author_uri":"https:\/\/kaspars.net","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":45866,"num_ratings":18,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1":{"tag":"0.1","author":"volca","date":"2010-12-04 00:17:35"},"0.2":{"tag":"0.2","author":"volca","date":"2010-12-04 06:41:13"},"0.3":{"tag":"0.3","author":"volca","date":"2011-01-17 06:30:31"},"0.4":{"tag":"0.4","author":"volca","date":"2011-02-10 15:18:28"},"1.3.4":{"tag":"1.3.4","author":"kasparsd","date":"2016-05-26 07:53:20"}},"upgrade_notice":{"1.0":"<p>Initial release.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":18},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":1220921,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1220866,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.4","1.3.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2797670,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Syntax highlighting applied to a <code>&lt;pre&gt;<\/code> block and inline <code>&lt;code&gt;<\/code> segments."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1214,3986,4444,5284,11272],"plugin_category":[46,59],"plugin_contributors":[78239],"plugin_business_model":[],"class_list":["post-11379","plugin","type-plugin","status-publish","hentry","plugin_tags-code","plugin_tags-highlight","plugin_tags-highlighter","plugin_tags-highlighting","plugin_tags-pre","plugin_category-editor-and-writing","plugin_category-utilities-and-tools","plugin_contributors-kasparsd","plugin_committers-kasparsd","plugin_committers-presetobot"],"banners":{"banner":"https:\/\/ps.w.org\/code-prettify\/assets\/banner-772x250.png?rev=1220866","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/code-prettify\/assets\/icon-256x256.png?rev=1220921","icon_2x":"https:\/\/ps.w.org\/code-prettify\/assets\/icon-256x256.png?rev=1220921","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/code-prettify\/assets\/screenshot-1.png?rev=2797670","caption":"Syntax highlighting applied to a <code>&lt;pre&gt;<\/code> block and inline <code>&lt;code&gt;<\/code> segments."}],"raw_content":"<!--section=description-->\n<p>Uses a customized version of the <a href=\"https:\/\/github.com\/kasparsd\/code-prettify-lib\/pull\/1\">Code Prettify library<\/a> to support local styles and scripts. Plugin applies code highlighting automatically to all <code>&lt;pre&gt;<\/code> tags on the page.<\/p>\n\n<p><strong>Compatible with Gutenberg and doesn't lock you in with specific markup requirements.<\/strong><\/p>\n\n<h4>Development<\/h4>\n\n<p>Plugin development <a href=\"https:\/\/github.com\/kasparsd\/code-prettify\">on GitHub<\/a>.<\/p>\n\n<h4>Credits<\/h4>\n\n<p>Created and maintained by <a href=\"https:\/\/kaspars.net\">Kaspars Dambis<\/a>. All of my open source work is available <a href=\"https:\/\/github.com\/kasparsd\">on GitHub<\/a>.<\/p>\n\n<p>Use Contact Form 7? <a href=\"http:\/\/preseto.com\/go\/cf7-storage\">Storage for Contact Form 7<\/a> is my commercial plugin (GPL license) for storing all form submissions in your WordPress database.<\/p>\n\n<p>Cover photo by <a href=\"https:\/\/www.flickr.com\/photos\/110751683@N02\/13334080323\/\">Yuri Samoilov<\/a><\/p>\n\n<!--section=installation-->\n<p>Simply upload the plugin and active it. It works out of the box and doesn't have any configuration options.<\/p>\n\n<!--section=faq-->\n<p>None, yet.<\/p>\n\n<!--section=changelog-->\n<h4>1.5.1 (November 8, 2021)<\/h4>\n\n<ul>\n<li>Fix the deprecation notice for how the data is passed to the script.<\/li>\n<li>Mark as tested with WordPress 5.8.<\/li>\n<\/ul>\n\n<h4>1.5.0 (April 19, 2020)<\/h4>\n\n<ul>\n<li>Preload the <code>prettify.css<\/code> file for performance improvements.<\/li>\n<li>Add WordPress coding standards checks.<\/li>\n<li>Add support for Composer install.<\/li>\n<\/ul>\n\n<h4>1.4.2 (January 14, 2019)<\/h4>\n\n<ul>\n<li>Switch to legacy PHP array syntax for better compatibility.<\/li>\n<\/ul>\n\n<h4>1.4.1 (December 21, 2018)<\/h4>\n\n<ul>\n<li>Add a trailing semicolon to all JS files to support concatenation.<\/li>\n<\/ul>\n\n<h4>1.4.0 (December 20, 2018)<\/h4>\n\n<ul>\n<li>Update the Prettify library.<\/li>\n<li>Don't highlight standalone <code>&lt;code&gt;<\/code> blocks without the <code>&lt;pre&gt;<\/code> wrapper.<\/li>\n<li>Mark as tested with WordPress 5.0.<\/li>\n<\/ul>\n\n<h4>1.3.4<\/h4>\n\n<ul>\n<li>Update the Prettify library.<\/li>\n<li>Ensure that Prettify styles are applied to the contents of <code>&lt;pre&gt;<\/code> and <code>&lt;code&gt;<\/code> elements.<\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<ul>\n<li>Update the Prettify library.<\/li>\n<li>Highlight <code>&lt;code&gt;<\/code> blocks too.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"100% automatic code highlighting using the Prettify library. No shortcodes, no classnames, fully automatic and pure awesome.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11379"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/volca"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11379"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11379"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11379"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11379"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11379"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}