{"id":31041,"date":"2014-08-08T18:42:16","date_gmt":"2014-08-08T18:42:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/pygment-it\/"},"modified":"2014-09-27T15:15:41","modified_gmt":"2014-09-27T15:15:41","slug":"pygment-it","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/pygment-it\/","author":13987410,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2","stable_tag":"0.2","tested":"3.4.2","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Pygment It","header_author":"Glauco Cust\u00f3dio","header_description":"","assets_banners_color":"","last_updated":"2014-09-27 15:15:41","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/pledgie.com\/campaigns\/26327","header_plugin_uri":"https:\/\/github.com\/glaucocustodio\/pygment_it","header_author_uri":"http:\/\/glaucocustodio.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1578,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.1":"<p>Plugin creation<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2","1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"962655","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"962655","resolution":"2","location":"assets"}},"screenshots":{"1":"screenshot-1.png","2":"screenshot-2.png"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4444,5284,51785,2207],"plugin_category":[],"plugin_contributors":[97347],"plugin_business_model":[],"class_list":["post-31041","plugin","type-plugin","status-publish","hentry","plugin_tags-highlighter","plugin_tags-highlighting","plugin_tags-pygment","plugin_tags-syntax","plugin_contributors-glauco_dsc","plugin_committers-glauco_dsc"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/pygment-it.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/pygment-it\/assets\/screenshot-1.png?rev=962655","caption":"screenshot-1.png"},{"src":"https:\/\/ps.w.org\/pygment-it\/assets\/screenshot-2.png?rev=962655","caption":"screenshot-2.png"}],"raw_content":"<!--section=description-->\n<p>By default, Pygment It will auto discover if Pygments is installed (through command -v pygmentize). If not, it will use http:\/\/pygments.appspot.com to highlight code (but without support for: highlighted lines, line numbers and line number to start).<\/p>\n\n<ul>\n<li>Syntax-highlighted code cached as post metadata<\/li>\n<li>Admin panel to choose theme, default language and Pygments usage (local, external API or auto discover)<\/li>\n<li>Multiple themes available (github, monokai, railscasts, mustang, among others..)<\/li>\n<li>Support for <code>hl_lines<\/code> (highlighted lines), <code>linenos<\/code> (line numbers) and <code>linenostart<\/code> (line number to start) when using a local installation of Pygments<\/li>\n<li>Works with all Pygments's supported languages (the full list can be found <a href=\"http:\/\/pygments.org\/languages\/\">here<\/a>)<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload plugin's content to <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Must I have Pygments installed in my server?<\/dt>\n<dd><p>No, in case your server does not have Pygments installed, the plugin will use an external api to perform syntax highlight<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2<\/h4>\n\n<p>Escaping \\<\/p>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Plugin creation<\/li>\n<\/ul>","raw_excerpt":"A WordPress plugin for syntax highlighting using Pygments, though Pygments is not required to be installed.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/31041","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=31041"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/glauco_dsc"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=31041"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=31041"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=31041"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=31041"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=31041"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=31041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}