Created
February 13, 2012 23:40
-
-
Save dsimard/1821505 to your computer and use it in GitHub Desktop.
Test for gist.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>This is an about page</title> | |
</head> | |
<body> | |
<h1>This is an about page</h1> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!!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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!!5 | |
%html | |
%head | |
%body | |
%h1 Single HTML |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body | |
color: blue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family:Verdana; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body | |
font-size: 200% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(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