{"id":21222,"date":"2012-12-17T04:38:58","date_gmt":"2012-12-17T04:38:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/code-prettify-syntax-highlighter\/"},"modified":"2012-12-17T04:46:20","modified_gmt":"2012-12-17T04:46:20","slug":"code-prettify-syntax-highlighter","status":"publish","type":"plugin","link":"https:\/\/sk.wordpress.org\/plugins\/code-prettify-syntax-highlighter\/","author":10820466,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"3.5.2","requires":"3.5","requires_php":"","requires_plugins":"","header_name":"Code Prettify Syntax Highlighter","header_author":"TrueFalse","header_description":"","assets_banners_color":"","last_updated":"2012-12-17 04:46:20","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.sooource.net","header_plugin_uri":"http:\/\/www.sooource.net\/code-prettify-syntax-highlighter","header_author_uri":"http:\/\/www.sooource.net","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2212,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>Tested in WordPress 3.5.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1539244","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1539244","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539244","resolution":"1","location":"plugin"}},"screenshots":{"1":"This frontend.","2":"This administration page.","3":"This post editing page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1214,356,4444,246,229],"plugin_category":[59],"plugin_contributors":[83420],"plugin_business_model":[],"class_list":["post-21222","plugin","type-plugin","status-publish","hentry","plugin_tags-code","plugin_tags-css","plugin_tags-highlighter","plugin_tags-html","plugin_tags-javascript","plugin_category-utilities-and-tools","plugin_contributors-truefalse","plugin_committers-truefalse"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/code-prettify-syntax-highlighter.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/code-prettify-syntax-highlighter\/trunk\/screenshot-1.png?rev=1539244","caption":"This frontend."},{"src":"https:\/\/ps.w.org\/code-prettify-syntax-highlighter\/trunk\/screenshot-2.png?rev=1539244","caption":"This administration page."},{"src":"https:\/\/ps.w.org\/code-prettify-syntax-highlighter\/trunk\/screenshot-3.png?rev=1539244","caption":"This post editing page."}],"raw_content":"<!--section=description-->\n<p>English:<\/p>\n\n<p>This plugin to select blocks of code takes advantage of JavaScript-library 'google-code-prettify'. If it is for his work simply insert frame &lt;pre&gt; tag with class 'prettyprint'.<\/p>\n\n<p>*** Tip: In order to optimize the use of resources, try to use only one option - 'Automatically replace the tags &lt;pre&gt; to &lt;pre class=\"prettyprint linenums\"&gt; before saving post.'<\/p>\n\n<p>Russian:<\/p>\n\n<p>\u0414\u0430\u043d\u043d\u044b\u0439 \u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0431\u043b\u043e\u043a\u043e\u0432 \u043a\u043e\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 JavaScript-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 'google-code-prettify'. \u041f\u0440\u0438 \u044d\u0442\u043e \u0434\u043b\u044f \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0431\u0440\u0430\u043c\u043b\u044f\u0442\u044c \u0432\u0441\u0442\u0430\u0432\u043a\u0438 \u0442\u0435\u0433\u043e\u043c &lt;pre&gt; \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c 'prettyprint'.<\/p>\n\n<p>***\u0421\u043e\u0432\u0435\u0442: \u0432 \u0446\u0435\u043b\u044f\u0445 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u0441\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e 1 \u0444\u043b\u0430\u0436\u043e\u043a - '\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0437\u0430\u043c\u0435\u043d\u044f\u0442\u044c &lt;pre&gt; \u043d\u0430 &lt;pre class=\"prettyprint linenums\"&gt; \u043f\u0435\u0440\u0435\u0434 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c \u0437\u0430\u043f\u0438\u0441\u0438.'<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip files.<\/li>\n<li>Upload 'cpsh' to the '\/wp-content\/plugins\/' directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to your 'Writing'.<\/li>\n<li>Go to your 'Highlighting code with \u00abgoogle-code-prettify\u00bb'.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<ul>\n<li>Syntax highlighting is not working?<\/li>\n<\/ul>\n\n<p>Try disabling JQuery in your theme. Or comment the 33rd line of code plugin: wp_enqueue_script ('jquery');<\/p>\n\n<ul>\n<li>How do I block a themed code?<\/li>\n<\/ul>\n\n<p>Specify the path to an arbitrary CSS file in the plugin settings. Examples of these, see the catalog 'http:\/\/example.com\/wordpress\/wp-content\/plugins\/cpsh\/google-code-prettify\/prettify.css'.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>The first version of the plugin.<\/li>\n<\/ul>","raw_excerpt":"Highlighting the code in the post with JavaScript library \u00abgoogle-code-prettify\u00bb.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=21222"}],"author":[{"embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/truefalse"}],"wp:attachment":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21222"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21222"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21222"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21222"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21222"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}