{"id":89789,"date":"2018-08-10T09:57:23","date_gmt":"2018-08-10T09:57:23","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/simple-code-block\/"},"modified":"2020-01-08T07:31:38","modified_gmt":"2020-01-08T07:31:38","slug":"simple-code-block","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/simple-code-block\/","author":15468894,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.2","stable_tag":"trunk","tested":"5.3.21","requires":"4.6","requires_php":"5.2.4","requires_plugins":"","header_name":"Simple Code Block","header_author":"Pablo Cianes","header_description":"A simple block to insert code into Gutenberg.","assets_banners_color":"29aae3","last_updated":"2020-01-08 07:31:38","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/pablocianes.com\/","header_plugin_uri":"","header_author_uri":"https:\/\/pablocianes.com\/","rating":4.9,"author_block_rating":0,"active_installs":200,"downloads":8631,"num_ratings":9,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.2.1":"<ul>\n<li>Allow enqueue assets on archive pages<\/li>\n<\/ul>","1.2.0":"<ul>\n<li>Allow working without use of<\/li>\n<\/ul>","1.1.0":"<ul>\n<li>Add option: show copy button<\/li>\n<li>Add option: show or hide lines numbers<\/li>\n<li>Improve Safari Browser compatibility<\/li>\n<li>Add Bash\/Shell language<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"8"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1970147","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1970147","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1970147","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1970147","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"simple-code-block\/ace":{"name":"simple-code-block\/ace","title":"ACE Code Editor"}},"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.1.0","1.2.0","1.2.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1922809","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1922809","resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Backend configuration view.","2":"Frontend view."},"jetpack_post_was_ever_published":false},"plugin_section":[163309],"plugin_tags":[2203,1214,148076,662,4609],"plugin_category":[],"plugin_contributors":[156964,162790],"plugin_business_model":[],"class_list":["post-89789","plugin","type-plugin","status-publish","hentry","plugin_section-blocks","plugin_tags-ace","plugin_tags-code","plugin_tags-gutenberg","plugin_tags-php","plugin_tags-syntax-highlighting","plugin_contributors-pablocianes","plugin_contributors-sumapress","plugin_committers-pablocianes"],"banners":{"banner":"https:\/\/ps.w.org\/simple-code-block\/assets\/banner-772x250.png?rev=1970147","banner_2x":"https:\/\/ps.w.org\/simple-code-block\/assets\/banner-1544x500.png?rev=1970147","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/simple-code-block\/assets\/icon-128x128.png?rev=1970147","icon_2x":"https:\/\/ps.w.org\/simple-code-block\/assets\/icon-256x256.png?rev=1970147","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-code-block\/assets\/screenshot-1.png?rev=1922809","caption":"Backend configuration view."},{"src":"https:\/\/ps.w.org\/simple-code-block\/assets\/screenshot-2.png?rev=1922809","caption":"Frontend view."}],"raw_content":"<!--section=description-->\n<p>A simple block to the new WordPress editor Gutenberg to insert and show code with Ace Editor.<\/p>\n\n<p>Now is very easy to share code in your own web with Gutenberg and this simple code block with the power of <a href=\"https:\/\/ace.c9.io\/\">Ace<\/a>: the successor of the Mozilla Skywriter (Bespin) project.<\/p>\n\n<p>Ace is an embeddable code editor written in JavaScript with the features and performance of native editors such as Sublime, Vim and TextMate.<\/p>\n\n<p>For each block you can choose many languages and styles:<\/p>\n\n<ul>\n<li>Lot of languages avalaibles: html, php, css, javascript, python,...<\/li>\n<li>Syntax highlighting with more than 20 themes to choose.<\/li>\n<li>Other options to select the font size of the code and lines to show without scroll.<\/li>\n<\/ul>\n\n<p>What You See in the backend with Gutenberg editor Is What You Get! and the plugin only enqueue the selected assets to highlighting your code with your own selected options.<\/p>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Add option: show copy button<\/li>\n<li>Add option: show or hide lines numbers<\/li>\n<li>Improve Safari Browser compatibility<\/li>\n<li>Add Bash\/Shell language<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Allow working without use of &lt;?php tag<\/li>\n<li>Improve WPO with better enqueue<\/li>\n<\/ul>\n\n<h3>Feedback and support<\/h3>\n\n<p>I would be happy to receive your feedback to improve this plugin.\nPlease let me know through <a href=\"https:\/\/wordpress.org\/support\/plugin\/simple-code-block\">support forums<\/a> if you like it and please be sure to <a href=\"https:\/\/wordpress.org\/support\/plugin\/simple-code-block\/reviews\/#new-post\">leave a review.<\/a>.<\/p>\n\n<p>Also you can contact me on my personal page <a href=\"https:\/\/pablocianes.com\/\">Pablo Cianes<\/a> or even visit <a href=\"https:\/\/github.com\/PCianes\/simple-code-block\">Github of Simple Code Block<\/a> where you can find all the development code of this plugin.<\/p>\n\n<p>I hope it is useful for you and look forward to reading your reviews! ;-) Thanks!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>simple-code-block.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Search into post the blue block <code>ACE Code Editor<\/code> into <code>Formatting<\/code> category.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What can I do with this plugin?<\/dt>\n<dd><p>You can create very easily a dynamic block into Gutenberg to write your own code to share in your web.<\/p><\/dd>\n<dt>How do I setup this plugin?<\/dt>\n<dd><p>Just insert it like others blocks this blue block <code>ACE Code Editor<\/code> into <code>Formatting<\/code> category.\nYou can change the language of your code and also the styles very easly and dynamic.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Fix bug on previous minor version<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Allow enqueue assets on archive pages<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Allow working without use of &lt;?php tag<\/li>\n<li>Improve WPO with better enqueue<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Add option: show copy button<\/li>\n<li>Add option: show or hide lines numbers<\/li>\n<li>Improve Safari Browser compatibility<\/li>\n<li>Add Bash\/Shell language<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Add C languages<\/li>\n<li>Compatible with WP5.2<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Add Lua language<\/li>\n<li>Compatible with WP5.1<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Compatible with WP5.0<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First publicly available version.<\/li>\n<\/ul>","raw_excerpt":"A simple block to insert code into Gutenberg.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/89789","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=89789"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pablocianes"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=89789"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=89789"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=89789"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=89789"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=89789"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=89789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}