Browse Source

initial copy/commit from brettlangdon/slideshow-builder

master
Brett Langdon 12 years ago
commit
1bed0addb5
6 changed files with 63 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. +16
    -0
      Makefile
  3. +6
    -0
      README.md
  4. +0
    -0
      slides/.empty
  5. +4
    -0
      slides/1_intro.md
  6. +36
    -0
      template.html

+ 1
- 0
.gitignore View File

@ -0,0 +1 @@
build

+ 16
- 0
Makefile View File

@ -0,0 +1,16 @@
SED=`which gsed || which sed`
build: clean
@mkdir ./build
@for file in ./slides/*; do cat $$file >> ./build/slides.md; echo '\r\n---\r\n' >> ./build/slides.md; done;
@$(SED) -i -e :a -e '$$d;N;2,3ba' -e 'P;D' ./build/slides.md
@cp ./template.html ./build/index.html
@$(SED) -i -e "/{{slides}}/r ./build/slides.md" -e "//d" ./build/index.html
clean:
@rm -rf ./build
run:
@cd ./build && python -m SimpleHTTPServer
.PHONY: build clean run

+ 6
- 0
README.md View File

@ -0,0 +1,6 @@
cURL Talk
=================
A lightning talk about [cURL](http://curl.haxx.se/).
https://brettlangdon.github.io/curl-talk.

+ 0
- 0
slides/.empty View File


+ 4
- 0
slides/1_intro.md View File

@ -0,0 +1,4 @@
class: center,middle
# cURL
### [brettlangdon](http://brett.is) | [Shapeways](https://www.shapeways.com)

+ 36
- 0
template.html View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<title>cURL Talk</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
body{
font-size: 2em;
}
a,a:visited{
color: #F92672;
text-decoration: none
}
a:hover{
color: #000;
}
.remark-code {
border-radius: 6px;
}
</style>
</head>
<body>
<textarea id="source">
{{slides}}
</textarea>
<script src="http://gnab.github.io/remark/downloads/remark-0.6.4.min.js" type="text/javascript">
</script>
<script type="text/javascript">
var slideshow = remark.create({
highlightLanguage: "javascript",
highlightInline: true,
highlightStyle: "monokai"
});
</script>
</body>
</html>

Loading…
Cancel
Save