Skip to content

Instantly share code, notes, and snippets.

@rodneyrehm
Last active August 29, 2015 13:56
Show Gist options
  • Save rodneyrehm/9020346 to your computer and use it in GitHub Desktop.
Save rodneyrehm/9020346 to your computer and use it in GitHub Desktop.
rawgithub.com gist example - view HEAD at https://rawgithub.com/rodneyrehm/9020346/raw/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>rawgithub.com gist demo</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Hello world</h1>
<p>I even pulled a CSS file from the same gist!</p>
<script src="script.js"></script>
</body>
</html>
var node = document.createElement('p');
node.textContent = "And running some JavaScript is possible as well!";
document.body.appendChild(node);
h1 {
color: #336699;
}
p {
color: #333;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment