{"id":92419,"date":"2018-10-08T22:36:20","date_gmt":"2018-10-08T22:36:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/kebo-code\/"},"modified":"2018-10-11T16:46:55","modified_gmt":"2018-10-11T16:46:55","slug":"kebo-code","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/kebo-code\/","author":11787980,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.2","stable_tag":"1.0.2","tested":"4.9.29","requires":"4.9.8","requires_php":"","requires_plugins":"","header_name":"Kebo Code","header_author":"Kebo","header_description":"Lightweight syntax highlighting using CodeMirror- outputting static HTML.","assets_banners_color":"34a22e","last_updated":"2018-10-11 16:46:55","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/kebo.io\/plugins\/code\/","header_author_uri":"https:\/\/www.kebo.io\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1061,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1953592","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1953592","resolution":"256x256","location":"assets"},"icon-512x512.png":{"filename":"icon-512x512.png","revision":"1953592","resolution":"512x512","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1953592","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1953592","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1953592","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1953592","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1953592","resolution":"3","location":"assets"}},"screenshots":{"1":"Kebo Code block in the Gutenberg editor.","2":"Frontend display using VSCode Dark+ Theme.","3":"Frontend display using Github Theme."}},"plugin_section":[],"plugin_tags":[1214,4443,2207,7526],"plugin_category":[],"plugin_contributors":[78891],"plugin_business_model":[],"class_list":["post-92419","plugin","type-plugin","status-closed","hentry","plugin_tags-code","plugin_tags-code-highlighter","plugin_tags-syntax","plugin_tags-syntax-highlighter","plugin_contributors-peterbooker","plugin_committers-peterbooker"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/kebo-code_34a22e.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/kebo-code\/assets\/screenshot-1.png?rev=1953592","caption":"Kebo Code block in the Gutenberg editor."},{"src":"https:\/\/ps.w.org\/kebo-code\/assets\/screenshot-2.png?rev=1953592","caption":"Frontend display using VSCode Dark+ Theme."},{"src":"https:\/\/ps.w.org\/kebo-code\/assets\/screenshot-3.png?rev=1953592","caption":"Frontend display using Github Theme."}],"raw_content":"<!--section=description-->\n<p><strong>(note: Gutenberg Editor Required)<\/strong><\/p>\n\n<p>A syntax \/ code highlighter Gutenberg block. Paste your code into the block, set the language and see your code highlighted exactly like it will display on the frontend.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Syntax highlighting block for the Gutenberg Editor<\/li>\n<li>Switch between editor and preview, see exactly what will appear on the frontend.<\/li>\n<li>Supports 121 languages, listed <a href=\"https:\/\/codemirror.net\/mode\/\">here<\/a>.<\/li>\n<li>2 Themes, VSCode Dark+ and Github, see the screenshots below. <em>(more coming soon)<\/em><\/li>\n<li>Static HTML output, no frontend scripts or user tracking.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Why does it require Gutenberg?<\/dt>\n<dd><p>The way the plugin highlights the text, as it is being edited, requires the Gutenberg editor\/environment, which means the plugin would do nothing without it.<\/p>\n\n<p>Specifically, it uses CodeMirror's <a href=\"https:\/\/codemirror.net\/demo\/runmode.html\">runMode<\/a> function to process highlighting in real-time.<\/p><\/dd>\n<dt>Which scipts and languages does it support?<\/dt>\n<dd><p>All scripts and languages supported by CodeMirror, <a href=\"https:\/\/codemirror.net\/mode\/\">listed here<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>v 1.0.1<\/h4>\n\n<ul>\n<li>Fix: Resolved error caused by bad filemtime() call, replaced with plugin version as more efficient.<\/li>\n<li>Fix: Corrected plugin version in main php file.<\/li>\n<\/ul>\n\n<h4>v 1.0.0<\/h4>\n\n<ul>\n<li>First public version of the plugin.<\/li>\n<li>Contains a single Gutenberg block which syntax highlights code.<\/li>\n<\/ul>","raw_excerpt":"Lightweight syntax \/ code highlighter which outputs plain HTML, no bloat or JavaScript.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/92419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=92419"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/peterbooker"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=92419"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=92419"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=92419"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=92419"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=92419"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=92419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}