{"id":14118,"date":"2015-12-01T15:23:38","date_gmt":"2015-12-01T19:23:38","guid":{"rendered":"http:\/\/webmakerblog.wpengine.com\/?p=14118"},"modified":"2019-02-26T12:40:17","modified_gmt":"2019-02-26T20:40:17","slug":"colour-palettes-code-folding-and-new-thimble-projects-oh-my","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/foundation-archive\/mozilla-learning\/colour-palettes-code-folding-and-new-thimble-projects-oh-my\/","title":{"rendered":"Colour palettes, code folding, and new Thimble projects, oh my!"},"content":{"rendered":"<p>A few weeks ago, we wrote about <a href=\"http:\/\/webmakerblog.wpengine.com\/using-thimble-with-limited-internet-connectivity\">some of the latest developments in Thimble<\/a>, especially as they relate to working in places with no or limited connectivity. Our latest changes focus on improving the coding experience, for beginners and more experienced coders alike.<br \/>\n<b>Colour Palette extraction for images<\/b><br \/>\nThis one is awesome. It allows you to easily see what colors are used in any image. Just drag an image into your file tree, and click on it. Thimble will automatically pull out many of the prominent colors used in the image and show you their hexadecimal codes. In this example, I was able to identify one of the colors from a photograph I took on a recent trip, and use it to style my &lt;h2&gt; font.<br \/>\n<a href=\"http:\/\/webmakerblog.wpengine.com\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-30-at-8.53.17-AM.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-14119 size-large\" src=\"http:\/\/webmakerblog.wpengine.com\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-30-at-8.53.17-AM-600x296.png\" alt=\"Screenshot of Thimble Color Palette Extractor and preview pane\" width=\"600\" height=\"296\" \/><\/a><b>New settings<\/b><br \/>\nYou can now enable and disable line wrapping, and decide whether to auto-execute JavaScript, using new options in the Settings menu.<br \/>\n<a href=\"http:\/\/webmakerblog.wpengine.com\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-30-at-8.57.21-AM.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-14120 size-full\" src=\"http:\/\/webmakerblog.wpengine.com\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-30-at-8.57.21-AM.png\" alt=\"Screenshot of Thimble Settings panel\" width=\"313\" height=\"355\" \/><\/a><br \/>\n<b>Move files to different folders<\/b><br \/>\nYou can now move files between folders. Simply right-click the file you want to move, and choose \u201cMove To\u2026\u201d (To create a new folder, right-click anywhere in the file tree.)<br \/>\n<a href=\"http:\/\/webmakerblog.wpengine.com\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-30-at-9.03.32-AM.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-14121 size-large\" src=\"http:\/\/webmakerblog.wpengine.com\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-30-at-9.03.32-AM-600x242.png\" alt=\"Screenshot of File mover dialog box\" width=\"600\" height=\"242\" \/><\/a><br \/>\n<b>Code Folding<\/b><br \/>\nYou can easily collapse and expand sections of code for easier reading. Just click on the arrows next to the line numbers.<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"aligncenter\" src=\"http:\/\/g.recordit.co\/rjzeFUpygp.gif\" alt=\"animated gif of user clicking on arrows to fold and then open several lines of code\" width=\"1434\" height=\"709\" \/><br \/>\n<b>New remixable starter projects <\/b><br \/>\nOur curriculum team has come up with some new fun projects to remix. Check out \u201c<a href=\"https:\/\/thimble.mozilla.org\/projects\/2375\/remix\">Three Things I &lt;3<\/a>,\u201d \u201c<a href=\"https:\/\/thimble.mozilla.org\/projects\/2500\/remix\">My Six-Word Summer<\/a>,\u201d and the popular \u201c<a href=\"https:\/\/thimble.mozilla.org\/projects\/2498\/remix\">Homework Excuse Generator<\/a>.\u201d<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" src=\"http:\/\/g.recordit.co\/mbeDjK9nlf.gif\" alt=\"Animated gif of Homework Excuse Generator - shows user clicking on &quot;Click here&quot; button and homework excuses are generated, e.g. &quot;My best friend destroyed my portfolio&quot; and &quot;My nemesit twitched my infographic&quot;\" width=\"1437\" height=\"707\" \/><br \/>\n<b>Expanded browser support<\/b><br \/>\nThimble now works in all modern browsers, including Internet Explorer, Chromebooks, and Safari.<br \/>\n<strong>Markdown to HTML and LESS to CSS conversion<\/strong><br \/>\nThese features are for advanced Thimble users.<br \/>\nIf you create *.markdown or *.md files, Thimble will automatically create HTML files to go with them, so that the browser will render them. This could be useful for Tutorial files and README files, as well as any other markdown file you want to use.<br \/>\nThimble will do the same for a limited subset of LESS files. It works the same way: any file.less will automatically create file.css, which will be autogenerated from the LESS file.<br \/>\nIn both cases Thimble watches files in the browser filesystem, so you don&#8217;t even need to change a setting or push a button for the HTML and CSS files to be created.\u00a0 Also, if you update those files, the generated files will also get refreshed. Magic!<br \/>\n&nbsp;<br \/>\nLet us know what you think of the changes by commenting below, dropping us a line at thimble@mozillafoundation.org, or tweeting @mozteach!<br \/>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few weeks ago, we wrote about some of the latest developments in Thimble, especially as they relate to working in places with no or limited connectivity. Our latest changes focus on improving the coding experience, for beginners and more &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/foundation-archive\/mozilla-learning\/colour-palettes-code-folding-and-new-thimble-projects-oh-my\/\">Continue reading<\/a><\/p>\n","protected":false},"author":144,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[378228],"tags":[330394],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/foundation-archive\/wp-json\/wp\/v2\/posts\/14118"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/foundation-archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/foundation-archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/foundation-archive\/wp-json\/wp\/v2\/users\/144"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/foundation-archive\/wp-json\/wp\/v2\/comments?post=14118"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/foundation-archive\/wp-json\/wp\/v2\/posts\/14118\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/foundation-archive\/wp-json\/wp\/v2\/media?parent=14118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/foundation-archive\/wp-json\/wp\/v2\/categories?post=14118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/foundation-archive\/wp-json\/wp\/v2\/tags?post=14118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}