16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# File 'lib/org2slides.rb', line 16
def layout(title, body)
"<!doctype html>\n<html lang=\"en\">\n <head>\n<meta charset=\"utf-8\">\n<title>\#{title}</title>\n<meta name=\"apple-mobile-web-app-capable\" content=\"yes\">\n<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">\n<link href='http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic' rel='stylesheet' type='text/css'>\n<link rel=\"stylesheet\" href=\"css/main.css\">\n<link rel=\"stylesheet\" href=\"css/theme/default.css\">\n<!-- For syntax highlighting -->\n<link rel=\"stylesheet\" href=\"lib/css/zenburn.css\">\n<script>\n // If the query includes 'print-pdf' we'll use the PDF print sheet\n document.write( '<link rel=\"stylesheet\" href=\"css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css\" type=\"text/css\" media=\"print\">' );\n</script>\n<!--[if lt IE 9]>\n <script src=\"lib/js/html5shiv.js\"></script>\n<![endif]-->\n </head>\n <body>\n<div class=\"reveal\">\n <!-- Used to fade in a background when a specific slide state is reached -->\n <div class=\"state-background\"></div>\n\n <!-- Any section element inside of this container is displayed as a slide -->\n <div class=\"slides\">\n\n \#{body}\n\n </div>\n\n <!-- The navigational controls UI -->\n <aside class=\"controls\">\n <a class=\"left\" href=\"#\">◄</a>\n <a class=\"right\" href=\"#\">►</a>\n <a class=\"up\" href=\"#\">▲</a>\n <a class=\"down\" href=\"#\">▼</a>\n </aside>\n <!-- Presentation progress bar -->\n <div class=\"progress\"><span></span></div>\n</div>\n<script src=\"lib/js/head.min.js\"></script>\n<script src=\"js/reveal.min.js\"></script>\n<script>\n // Full list of configuration options available here:\n // https://github.com/hakimel/reveal.js#configuration\n Reveal.initialize({\n controls: true,\n progress: true,\n history: true,\n transition: Reveal.getQueryHash().transition || 'linear', // default/cube/page/concave/linear(2d)\n // Optional libraries used to extend on reveal.js\n dependencies: [\n { src: 'lib/js/highlight.js', async: true, callback: function() { window.hljs.initHighlightingOnLoad(); } },\n { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },\n { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },\n { src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },\n { src: 'socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } },\n { src: 'plugin/speakernotes/client.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } },\n ]\n });\n</script>\n </body>\n</html>\n"
end
|