Skip to content

Instantly share code, notes, and snippets.

View manuel-woelker's full-sized avatar
:shipit:
Focusing

Manuel Woelker manuel-woelker

:shipit:
Focusing
View GitHub Profile
@manuel-woelker
manuel-woelker / 1_readme.md
Created June 6, 2012 07:52 — forked from geelen/1_readme.md
Fiddling with Gists

Running Gists like a JsFiddle

TL;DR: This page (html, css, javascript, markdown) is being served from this gist using this server.

After working with AngularJS, which is totally awesome, I wanted a better way to share code snippets with the community. Something where the header declarations aren't hidden, so it's clear which version of angular you're using and whether zepto/jquery/underscore are loaded. I also wanted to use CoffeeScript, HAML and SCSS because that's what I use to write Goodfilms (my day job).

This HTML is being rendered from HAML, the CSS is being compiled from SCSS, the JS code is written in Coffeescript and even this here text is being compiled (in the browser) from a gist-hosted Markdown file.