{"id":74352,"date":"2017-09-08T16:01:23","date_gmt":"2017-09-08T16:01:23","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/create-with-code\/"},"modified":"2024-12-19T13:57:37","modified_gmt":"2024-12-19T13:57:37","slug":"create-with-code","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/create-with-code\/","author":15652840,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4","stable_tag":"trunk","tested":"6.7.5","requires":"3.2","requires_php":"","requires_plugins":null,"header_name":"Create with code","header_author":"Pete Dring","header_description":"Share and run python code from create.withcode.uk with a shortcode","assets_banners_color":"95939e","last_updated":"2024-12-19 13:57:37","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/paypal.me\/pddring","header_plugin_uri":"https:\/\/github.com\/pddring\/create-withcode","header_author_uri":"http:\/\/blog.withcode.uk","rating":4.2,"author_block_rating":0,"active_installs":400,"downloads":13307,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.1":{"tag":"1.1","author":"pddring","date":"2019-05-24 11:34:00"},"1.2":{"tag":"1.2","author":"pddring","date":"2019-09-09 20:25:32"},"1.4":{"tag":"1.4","author":"pddring","date":"2020-03-26 12:11:24"}},"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":0,"4":0,"5":4},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1727049,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1727049,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1727049,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1","1.2","1.4"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1214,23212,146110,17401,146109],"plugin_category":[],"plugin_contributors":[146111],"plugin_business_model":[],"class_list":["post-74352","plugin","type-plugin","status-publish","hentry","plugin_tags-code","plugin_tags-computing","plugin_tags-createwithcode","plugin_tags-cs","plugin_tags-python","plugin_contributors-pddring","plugin_committers-pddring"],"banners":{"banner":"https:\/\/ps.w.org\/create-with-code\/assets\/banner-772x250.png?rev=1727049","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/create-with-code\/assets\/icon-128x128.png?rev=1727049","icon_2x":"https:\/\/ps.w.org\/create-with-code\/assets\/icon-256x256.png?rev=1727049","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>create.withcode.uk lets you write, run, debug and share python code in your browser. This plugin lets you quickly embed your code projects in your wordpress site<\/p>\n\n<p>When you share a project from create.withcode.uk, you get a URL like: https:\/\/create.withcode.uk\/embed\/3C or https:\/\/create.withcode.uk\/run\/3C<\/p>\n\n<p>Take the last section of the URL and use it in the shortcode to embed it in your wordpress site:<\/p>\n\n<pre><code>[withcode id=\"3C\"]\n<\/code><\/pre>\n\n<p>You can customise choose to display the code or run it using the mode attribute:<\/p>\n\n<pre><code>[withcode id=\"3C\" mode=\"embed\"] \n<\/code><\/pre>\n\n<p>or<\/p>\n\n<pre><code>[withcode id=\"3C\" mode=\"run\"]\n<\/code><\/pre>\n\n<p>You can also specifiy the height \/ width of the code snippet:<\/p>\n\n<pre><code>[withcode id=\"3C\" mode=\"embed\" width=\"400px\" height=\"600px\"]\n<\/code><\/pre>\n\n<p>You can customise the colour scheme by rotating all the colours on the toolbar icons by a hue value:\n    [withcode id=\"3C\" hue=\"45\"]<\/p>\n\n<p>Or you can make the toolbar icons greyscale as follows:\n    [withcode id=\"3C\" grey=\"1\"]<\/p>\n\n<h3>Please note:<\/h3>\n\n<p>This plugin just lets you embed python code from create.withcode.uk in a wordpress site. \nThe python code can be run in an iframe in your site by pressing <code>Ctrl + Enter<\/code> to run the whole program or <code>Ctrl + Space<\/code> to run one line at a time.\nPython code is interpreted and run in the client's browser: it doesn't run on your server and it only supports a sandboxed subset of the fully python language.\nThis is designed as a teaching and learning aid rather than a fully fledged professional development tool.<\/p>\n\n<!--section=installation-->\n<p>Upload the create-withcode plugin to your blog, Activate it and add a shortcode to any page \/ post<\/p>\n\n<!--section=changelog-->\n<h4>1.5<\/h4>\n\n<ul>\n<li>Release Date - 19th Dec 2024*\nSecurity updates (thanks to SOPROBRO)<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Release Date - 26th March 2020*\nAdded support for greyscale icons or a different colour scheme (hue rotation)<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<p><em>Release Date - 16th march 2020<\/em><\/p>\n\n<h4>1.2<\/h4>\n\n<p><em>Release Date - 9th Sep 2019<\/em><\/p>\n\n<h4>1.1<\/h4>\n\n<p><em>Release Date - 29th May 2018<\/em><\/p>\n\n<h4>1.0<\/h4>\n\n<p><em>Release Date - 14 April 2016<\/em><\/p>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Create with code lets you quickly embed and run your python projects in your website \/ blog","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/74352","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=74352"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pddring"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=74352"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=74352"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=74352"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=74352"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=74352"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=74352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}