Skip to content

Instantly share code, notes, and snippets.

@dsimard
Created February 13, 2012 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dsimard/1821505 to your computer and use it in GitHub Desktop.
Save dsimard/1821505 to your computer and use it in GitHub Desktop.
Test for gist.js
<html>
<head>
<title>This is an about page</title>
</head>
<body>
<h1>This is an about page</h1>
</body>
</html>
!!!5
%html
%head
%title HAML file
%script(src='http://code.jquery.com/jquery-1.7.2.js' type='text/javascript')
%script(src='test.js' type='text/javascript')
%link(rel='stylesheet' href='stylus.css' type='text/css')
%link(rel='stylesheet' href='sass.css' type='text/css')
%body
%h1 Hi!
%h2
%p
It has font-size to 200%, courtesy of
%a(href='stylus.styl')Stylus
%p
Blue is powered by
%a(href='sass.sass')Sass
!!!5
%html
%head
%body
%h1 Single HTML
body
color: blue
body {
font-family:Verdana;
}
body
font-size: 200%
$(document).ready ->
$("h2").text("This h2 is loaded from test.coffee")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment