{"id":100225,"date":"2019-04-04T23:08:57","date_gmt":"2019-04-04T23:08:57","guid":{"rendered":"https:\/\/es.wordpress.org\/plugins\/snippets-block\/"},"modified":"2019-04-29T22:18:23","modified_gmt":"2019-04-29T22:18:23","slug":"snippets-block","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/snippets-block\/","author":164938,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.0","stable_tag":"1.3.0","tested":"5.2.24","requires":"5.0","requires_php":"","requires_plugins":"","header_name":"Snippets Block","header_author":"Luis Sacrist\u00e1n","header_description":"Allows to add snippets blocks to your content: Javascript, CSS, HTML...","assets_banners_color":"d9dada","last_updated":"2019-04-29 22:18:23","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/displaynone\/gutenberg-snippet","header_author_uri":"https:\/\/sentidoweb.com\/","rating":5,"author_block_rating":0,"active_installs":100,"downloads":4513,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["installation","faq","changelog","description"],"tags":[],"upgrade_notice":{"":"<p>There are no upgrade notices at this time.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"2063832","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"2063832","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"2063832","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"2063832","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.0","1.2.0","1.2.1","1.3.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"\/snippets-block\/assets\/step1.png","2":"\/snippets-block\/assets\/step2.png","3":"\/snippets-block\/assets\/step3.png","4":"\/snippets-block\/assets\/step4.png"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4121,148076,32776],"plugin_category":[],"plugin_contributors":[132518],"plugin_business_model":[],"class_list":["post-100225","plugin","type-plugin","status-publish","hentry","plugin_tags-blocks","plugin_tags-gutenberg","plugin_tags-highlight-js","plugin_contributors-displaynone","plugin_committers-displaynone"],"banners":{"banner":"https:\/\/ps.w.org\/snippets-block\/assets\/banner-772x250.png?rev=2063832","banner_2x":"https:\/\/ps.w.org\/snippets-block\/assets\/banner-1544x500.png?rev=2063832","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/snippets-block\/assets\/icon-128x128.png?rev=2063832","icon_2x":"https:\/\/ps.w.org\/snippets-block\/assets\/icon-256x256.png?rev=2063832","generated":false},"screenshots":[],"raw_content":"<!--section=installation-->\n<ol>\n<li>Backup your WordPress install<\/li>\n<li>Upload the plugin folder to the <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>What library does this plugin use?<\/dt>\n<dd><p>It uses <a href=\"https:\/\/highlightjs.org\/\">highlight.js<\/a><\/p><\/dd>\n<dt>What highlight.js theme uses?<\/dt>\n<dd><p>androidstudio<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Added Spanish translation.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fixed line numbers with long lines.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added line numbers. Thanks <a href=\"https:\/\/wordpress.org\/support\/users\/waqasb\/\">Waqas Bin Hasan<\/a> for the tip.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added copy button: it allows to copy to clipboard the content of the snippet<\/li>\n<li>Save formatted code: instead of parsing the content using <code>highlight.js<\/code> in the front-end, the HTML is saved directly in the backend<\/li>\n<li>Fixed <code>filemtime<\/code> in Windows<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Cleaning some first SVN version mess<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First version.<\/li>\n<\/ul>\n\n<!--section=description-->\n<p>Allows to add snippets blocks to your content: Javascript, CSS, HTML...<\/p>\n\n<h3>Purpose<\/h3>\n\n<p>Add snippet blocks to your WordPress content using the new Gutenberg editor<\/p>\n\n<h3>How to use it<\/h3>\n\n<ul>\n<li>Add a Snippet block within your content<\/li>\n<li>Include your code<\/li>\n<li>Select the language<\/li>\n<li>Save the post and check your front-end<\/li>\n<\/ul>\n\n<h3>Supported languages<\/h3>\n\n<ul>\n<li>Apache<\/li>\n<li>Bash<\/li>\n<li>C#<\/li>\n<li>C++<\/li>\n<li>CSS<\/li>\n<li>Erlang<\/li>\n<li>Go<\/li>\n<li>HTML<\/li>\n<li>XML<\/li>\n<li>Handlebars<\/li>\n<li>JSON<\/li>\n<li>Java<\/li>\n<li>JavaScript<\/li>\n<li>Markdown<\/li>\n<li>Objective C<\/li>\n<li>PHP<\/li>\n<li>Python<\/li>\n<li>R<\/li>\n<li>Ruby<\/li>\n<li>Rust<\/li>\n<li>SCSS<\/li>\n<li>SQL<\/li>\n<li>Shell<\/li>\n<li>Twig<\/li>\n<li>TypeScript<\/li>\n<\/ul>\n\n<h3>Credits<\/h3>\n\n<ul>\n<li>Based in Making WordPress Do More <a href=\"https:\/\/github.com\/mkdo\/block-starter-kit\">Block Starter Kit<\/a><\/li>\n<li>Original webpack configuration (before modifications) from <a href=\"https:\/\/github.com\/zgordon\/gutenberg-course\">Zac Gordon\\'s Gutenberg Course<\/a>.<\/li>\n<li>Original deploy script (before modifications) from <a href=\"https:\/\/github.com\/GaryJones\/wordpress-plugin-git-flow-svn-deploy\">Garry Jones<\/a>.<\/li>\n<li>Webpack HMR thanks to <a href=\"https:\/\/github.com\/CGlingener\">Christian Glingener<\/a><\/li>\n<\/ul>\n\n<h3>Requirements<\/h3>\n\n<p>Gutenberg activated<\/p>\n\n<h3>Known Issues<\/h3>\n\n<p>There are no known issues at this time.<\/p>\n\n<h3>Roadmap<\/h3>\n\n<ul>\n<li>Allow several themes<\/li>\n<\/ul>","raw_excerpt":"Allows to add snippets blocks to your content: Javascript, CSS, HTML...","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/100225","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=100225"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/displaynone"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=100225"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=100225"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=100225"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=100225"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=100225"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=100225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}