Skip to content

Instantly share code, notes, and snippets.

@patrickhammond
Last active August 29, 2015 14:15
Show Gist options
  • Save patrickhammond/771c7b1b580337817a6a to your computer and use it in GitHub Desktop.
Save patrickhammond/771c7b1b580337817a6a to your computer and use it in GitHub Desktop.
Getting started with RemarkJS. See instructions.md for details
<!DOCTYPE html>
<html>
<head>
<title>Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
@import url(http://fonts.googleapis.com/css?family=Roboto:400,700,400italic);
@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
body {
font-family: 'Roboto', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
margin-bottom: 0;
}
.remark-slide-content h1 { font-size: 3em; }
.remark-slide-content h2 { font-size: 2em; }
.remark-slide-content h3 { font-size: 1.6em; }
.footnote {
position: absolute;
bottom: 3em;
font-size: .8em;
}
.remark-code, .remark-inline-code { font-family: 'Ubuntu Mono'; }
.title-slide .remark-slide-number {
visibility: hidden;
}
</style>
</head>
<body>
<script src="http://gnab.github.io/remark/downloads/remark-latest.min.js" type="text/javascript">
</script>
<script type="text/javascript">
var slideshow = remark.create({
sourceUrl: 'PRESENTATION.md'
});
</script>
</body>
</html>
  • git clone https://github.com/patrickhammond/Presentation-AndroidGradle (using your own Git repo)
  • cd Presentation-AndroidGradle (using the correct path)
  • git checkout -b gh-pages
  • Create README.md with the file below.
  • Create index.html with the file below.
  • python -m SimpleHTTPServer 8000
  • open http://localhost:8000/index.html
  • Verify the presentation renders.
  • git add -all .
  • git commit -m "Initial pages."
  • git push origin gh-pages
  • Go to http://patrickhammond.github.io/Presentation-AndroidGradle (using the correct username and repo).

It also looks like if you have your website hosted from GitHub (ie: patrickhammond.com --> patrickhammond.github.io) with the CNAME entry setup it will be accessible via your URL (patrickhammond.com/Presentation-AndroidGradle).

class: center, middle, title-slide

Visit for remarkjs.com for syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment