This repository has been archived by the owner on Oct 11, 2019. It is now read-only.
forked from hakimel/reveal.js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
784 lines (598 loc) ยท 25.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Bootstrap | GDI Cincinnati</title>
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/gdi-default.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<!-- Introduction -->
<section class="text-center" data-markdown>
<textarea data-template>
# Bootstrap Workshop
Sarah Sachs
[bootstrap.gdicincy.com](http://bootstrap.gdicincy.com/)
[/exercises](https://github.com/zarahzachz/gdi-cin-bootstrap/tree/master/exercises)
</textarea>
</section>
<section>
<section data-markdown>
<textarea data-template>
## Welcome
Girl Develop It is here to provide affordable and accessible programs to learn software through mentorship and hands-on instruction.
Some "rules":
- We're here for you
- Every question is important
- Help each other
- Have fun!
</textarea>
</section>
<section data-background="assets/gdi-rules.gif"></section>
<section data-markdown>
<textarea data-template>
## Welcome
Tell us about yourself.
- Who are you?
- What do you hope to get out of the class?
- Who's your favorite superhero?
</textarea>
</section>
</section>
<!-- What is Bootstrap? -->
<section>
<section data-background="assets/start.gif"></section>
<section data-markdown>
<textarea data-template>
## What we'll be covering today
1. Basic setup
2. Using the grid
3. Creating custom components
4. Working with pre-made components
5. Adding custom CSS
โฐ *If we have time* - we'll play with some JavaScript plugins
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## What we won't be covering today
1. Bootstrap theming
2. How to use every single Bootstrap feature
3. Overriding Bootstrap's CSS
4. How to use any CSS preprocessor
</textarea>
</section>
</section>
<section>
<section data-markdown>
<textarea data-template>
## What is Bootstrap?
> Bootstrap is the most popular **HTML, CSS, and JS framework** for developing **responsive**, **mobile first** projects on the web.
<p class="attribution">-- Bootstrap</p>
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## What is Bootstrap?
<dl>
<dt>HTML, CSS, and JS framework (aka <em>Front-end framework</em>)</dt>
<dd>A collection of production-ready HTML/CSS/JavaScript components you can use with little configuration.</dd>
</dl>
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## What is Bootstrap?
<dl>
<dt>Responsive</dt>
<dd>A design approach, specifically for the Web, allowing a single webpage to be viewed in response to the size of the screen/web browser it's being view with.</dd>
</dl>
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## What is Bootstrap?
<dl>
<dt>Mobile first</dt>
<dd>When building a webpage, you begin with mobile considerations and work up to a larger desktop version.</dd>
</dl>
</textarea>
</section>
<section data-background="assets/fed-dance.gif"></section>
</section>
<!-- Why is Bootstrap such a big deal? -->
<section>
<section data-markdown>
<textarea data-template>
## Why Bootstrap?
- It was created by Twitter devs (smart people!)
- It [looks pretty slick](http://builtwithbootstrap.com/)
- It's [battle-tested](http://getbootstrap.com/browser-bugs/)
- It's *really* popular
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Why Bootstrap?
Bootstrap is one of the most popular front-end frameworks, with 110,000+ stars and 50,000+ forks on Github.
<img src="assets/popular.png" alt="Bootstrap has 110,000+ stars and 50,000+ forks on Github.">
It's an open source project on Github, meaning it's free to use and anyone can contribute to it.
</textarea>
</section>
</section>
<!-- Getting started -->
<section data-markdown>
<textarea data-template>
## Let's get started
To get started, visit [getbootstrap.com/get-started](http://getbootstrap.com/getting-started/)
</textarea>
</section>
<!-- Setting it up -->
<section>
<section data-markdown>
<textarea data-template>
## Setting up Bootstrap
There are a few ways you can go about adding Bootstrap to your project.
For this class, we'll be [downloading](http://getbootstrap.com/getting-started/#download) it. This method allows you to see the nuts and bolts that make up the framework, giving you a better understanding of what Bootstrap has to offer.
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## ๐ Let's develop it!
Download Bootstrap to the directory of your choice.
๐จ *Hint: The work we do in today's workshop will be done in this directory - so remember where you put it!*
</textarea>
</section>
</section>
<!-- What's included -->
<section data-markdown>
<textarea data-template>
## What's included?
<div style="float: left;">
<img src="assets/bootstrap-directory.png" alt="bootstrap directory structure">
</div>
<div style="float: right; width: 60%;">
<p class="fragment">Note that the <code>css/</code> folder includes two similarly-named files:</p>
<p class="fragment"><code>bootstrap.css</code> includes the basics like layout styles, media queries for the grid, etc.</p>
<p class="fragment"><code>bootstrap-theme.css</code> includes more stylistic styles, i.e., font-faces, colors, etc.</p>
</div>
</textarea>
</section>
<!-- HTML template -->
<section>
<section data-markdown>
<textarea data-template>
## HTML template
Bootstrap provides us with a basic template to set up a project quickly and correctly.
Click [here](http://getbootstrap.com/getting-started/#template) to see/use this template.
This template has a few new additions you *might* not be familiar with.
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## The Responsive Meta Tag
This meta tag lives in the `<head>` and will make your site responsive.
```
<meta name="viewport" content="width=device-width, initial-scale=1">
```
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Using Javascript
And if you want to use any of Bootstrap's JavaScript components, you **have** to have Jquery installed *before* any other JS library.
This template is using a CDN to load Jquery for us.
```
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
```
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## ๐ Let's develop it!
In your project folder, create a new HTML file and wire it up to use Bootstrap.
๐จ *Hint: Be sure the **minified** CSS and JavaScript are in the right spots!*
</textarea>
</section>
</section>
<!-- Layout -->
<section>
<section data-background="assets/grid-ness.gif"></section>
<section data-markdown>
<textarea data-template>
## The Grid
The grid layout is probably *the* most important feature of this framework.
Bootstrap uses a combination of containers, rows, and columns to achieve its grid layout.
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## .container vs. .container-fluid
`.container` is a fixed-width container
`.container-fluid` is a full-width container
Containers are used to "contain" the contents of your site. They ensure your content is properly aligned (centered) and add padding to it. You can have several of these classes on the same page, but **never** on the same element.
[Example](http://codepen.io/zarahzachz/full/zwpxya/)
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Rows
Rows create horizontal groups of columns. If you're planning on using columns, they **must** be nested within a `.row` element.
On their own, `.row`s have a negative margin of about 15px. This is to account for the gutter surrounding the column elements. If you add columns without adding your row, your layout will look off.
[Example](http://codepen.io/zarahzachz/full/ZKroJO/)
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Columns
Bootstrap uses a 12-column grid system. Why 12? Because it's a pretty flexible number. It's easily divisible, allowing for a variety of layouts.
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Columns
<img src="assets/column-space.png" alt="Bootstrap's 12-col grid">
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Columns
Bootstrap uses this naming convention in naming its column classes:
| Device | Class | Container width |
| --- | --- | --- |
| Phones | `.col-xs-*` | None |
| Tablets | `.col-sm-*` | 750px |
| Small desktops | `.col-md-*` | 970px |
| Large desktops | `.col-lg-*` | 1170px |
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## The Grid
Putting it all together:
```
<div class="container">
<div class="row">
<div class="col-sm-6">...</div>
<div class="col-sm-6">...</div>
</div>
</div>
```
[Example](http://codepen.io/zarahzachz/full/aWqGyw/)
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## The Responsive Grid
Unlike the container classes, Bootstrap's column classes can be stacked onto the same element. This allows you to create different layouts based on the width of the device!
```
<div class="container">
<div class="row">
<div class="col-xs-1 col-sm-6 col-md-2 col-lg-4">...</div>
<div class="col-xs-11 col-sm-6 col-md-10 col-lg-8">...</div>
</div>
</div>
```
[Example](http://codepen.io/zarahzachz/full/gWKVjo/)
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## The Responsive Grid
So how does Bootstrap accomplish this? Through the use of **media queries** and some pretty complex math in its CSS. You can open `bootstrap.css` [line 1615] and check them out for yourself.
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## ๐จ Layout Gotchas
Your rows should *always* add up to 12. If more than 12 columns are in a row, each group of extra columns will wrap onto a new line.
Bootstrap will assume columns are 12-columns wide unless indicated otherwise. (That whole **mobile-first development** thing.)
```
<div class="container">
<div class="row">
<div class="col-md-4">...</div>
<div class="col-md-4">...</div>
<div class="col-md-4">...</div>
</div>
</div>
```
Note:
In this example, Bootstrap will assume your layout is 12-columns wide for mobile and tablet-sized devices, then break into 3 columns on small desktop screens. Just imagine that there's invisible classes for mobile and tablet screens telling each `div` to be 12-columns wide.
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## ๐ Let's develop it!
Using [CSS](http://getbootstrap.com/css/) helper classes, create a "feature card" section that responds to the browser's width.
1. Create a `<section>` containing 3 `<div>` elements.
2. In each `<div>`, add a **circular** image.
3. Place a **header** (centered) beneath that image.
4. Each `<div>` should be full-width on mobile screens, and move inline (i.e., 3 `<div>`s in 1 row) on tablet-sized screens.
๐จ *Hint: Use Bootstrap's `center-block` helper class to help center your "feature cards".*
</textarea>
</section>
</section>
<!-- Advanced layout -->
<section>
<section data-background="assets/grids-advanced.gif"></section>
<section data-markdown>
<textarea data-template>
## Offsets
<p>Q: But what if you don't have 12-columns worth of content!?!</p>
<p class="fragment">A: Bootstrap has column offsets that allow you to adjust the margins of your columns!</p>
```
<div class="container">
<div class="row">
<div class="col-lg-4 col-lg-offset-4">...</div>
</div>
</div>
```
Note:
In this example, `col-lg-offset-4` is adding 4 columns' widths of margin to **both sides of your content**. So technically, this row still adds up to 12!
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Offsets
Bootstrap provides an override class in the instance you want to remove an offset from a particular screensize.
This class is called `.col-*-offset-0`
```
<div class="container">
<div class="row">
<div class="col-xs-6 col-sm-4">...</div>
<div class="col-xs-6 col-sm-4">...</div>
<div class="col-xs-6 col-xs-offset-3 col-sm-4 col-sm-offset-0">...</div>
</div>
</div>
```
Note:
Here, we have 3 `div`s of content that change layout based on screensize. On mobile, the top 2 `div`s are side-by-side and the last 1 is centered horizontally. On tablets, this layout shifts so all 3 are on the same row. Because Bootstrap is **mobile-first** you have to include `.col-sm-offset-0` to prevent that margin change seen in the mobile-view from bubbling up in screensize.
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## ๐ Let's develop it!
1. Under the closing `</section>` of the previous exercise, create a new `<section>` for the "About Me" part of your website.
2. Include a **header** and short **paragraph** of text, centered horizontally.
3. Add offsets to center the content better on small-large desktops.
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Nesting
Q: But what if your layout requires more granular control of its columns!?!
<p class="fragment">A: With nesting, your columns can get as precise as you need! To nest your columns, you add a new `.row` inside your column of choice and from there, add the number of columns you want.</p>
```
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="row">
<div class="col-sm-6 col-md-3">...</div>
<div class="col-sm-6 col-md-9">...</div>
</div>
</div>
<div class="col-md-4">...</div>
</div>
</div>
```
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## ๐ Let's develop it!
Under the closing `</section>` of the previous exercise, we're going to add the basic markup for a contact form. (*Note that there won't be any functionality to this.*)
1. Create a new `<section>` and give it a centered **header**.
2. Add your **form** element. Your form should have a field for a first name, last name and email address.
3. Add a **submit button** under your form.
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Reordering Columns
Q: What if the order of your content makes sense on mobile screens, but looks wackadoo on desktop-sized screens!?!
<p class="fragment">A: Bootstrap has classes onhand to help you reorder the position of your columns with a couple modifier classes!</p>
<p class="fragment">The "push" class shifts your column right by the number of columns indicated. The "pull" class shifts it left by the number of columns indicated.</p>
```
<div class="container">
<div class="row">
<div class="col-md-9 col-md-push-3">...</div>
<div class="col-md-3 col-md-pull-9">...</div>
</div>
</div>
```
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## ๐ Let's develop it!
We're going to play around with reordering the feature cards we created for Exercise 2.
1. Using the column reordering helper classes, switch the positions of the first and last feature card **for large screens only**.
</textarea>
</section>
</section>
<!-- Components -->
<section data-markdown>
<textarea data-template>
## Components
Components are reusable "chunks" of code you can slip into your project. There's very little need for configuration outside of customization, and there's a wide array of common *UI* (user interface) options to choose from.
</textarea>
</section>
<!-- Navbar -->
<section>
<section data-markdown>
<textarea data-template>
## Navbar
**Navbar** is a commonly used term in development that refers to a website's primary navigation. Navbars can have a variety of elements, from buttons to form fields to images. Bootstrap's navbars are built mobile-first (meaning they collapse to the popular hamburger icon on mobile).
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## ๐ Let's develop it!
Visit [Default navbar](http://getbootstrap.com/components/#navbar-default)
1. At the top of your website (under the opening `<body>` tag), paste the code for the **Default navbar**.
2. Edit the **markup** (HTML) to have 5 links placed in any configuration you want (left or right).
</textarea>
</section>
</section>
<!-- Jumbotron -->
<section>
<section data-markdown>
<textarea data-template>
## Jumbotron
The **jumbotron**, also referred to as the **hero image** of a site, is usually the first section you see on many traditional websites. It's characterized as a component that takes up a lot of space (usually full-width), and often features text or some kind of **call-to-action** (CTA).
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## ๐ Let's develop it!
Bootstrap's [Jumbotron](http://getbootstrap.com/components/#jumbotron) comes in two flavors: full-width and not full-width.
1. Under your closing `</nav>` tag, paste the code for the **Jumbotron**. (*Because our navbar is full-width, it would be nice to have a full-width jumbotron.*)
2. Include a headline and short sentence inside your jumbotron.
**Bonus points:** Add a CTA button!
</textarea>
</section>
</section>
<!-- Thumbnails -->
<section>
<section data-markdown>
<textarea data-template>
## Thumbnails
*Thumbnails* are a common component seen on many ecommerce-type websites. These elements consist of an image or video and are placed in a very structured grid pattern. Headers, text and even buttons can be added as well.
[image of thumbnails]
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## ๐ Let's develop it!
Visit [Thumbnails](http://getbootstrap.com/components/#thumbnails)
For this excercise, we'll be adding 8 thumbnails to our site.
1. Create a new `<section>` under your feature cards (Exercise 2).
2. Add a centered **header**.
3. Add 8 thumbnails to this section (๐จ *Hint: The documentation might need some light configuration here*)
4. Thumbnails should each have an image, a header, and a button.
We want to think **responsively**, so lay out your thumbnails in a user-friendly way. (๐จ *Hint: Use a few column classes here.*)
</textarea>
</section>
</section>
<!-- Custom CSS -->
<section>
<section data-markdown>
<textarea data-template>
## Custom CSS
You don't have to feel compelled to use Bootstrap's CSS. If there's something custom you want to add to your project, by all means feel free to do it!
As Professor DePietro used to tell me, "There's more than one way to skin a cat!"
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Custom CSS
To add custom CSS to your project, place a link *under* the minified Bootstrap CSS. HTML is read top-to-bottom, so your custom CSS will load *after* Bootstrap's.
Example:
```
<head>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
</head>
```
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## ๐ Let's develop it!
1. Add a custom stylesheet to your project. You can make any additions you want!
Some examples can be:
- Adjusting the margin/padding of your sections
- Changing the fonts (family, size, color, etc.)
- Add background images or colors
</textarea>
</section>
</section>
<!-- JavaScript components -->
<section>
<section data-markdown>
<textarea data-template>
## JavaScript Components
Similar to CSS, Bootstrap has preconfigured JavaScript components.
To use, simply add the link to `bootstrap.min.js` *beneath* a link to Jquery. (Jquery is required for Bootstrap's JS to work.)
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Scrollspy
Scrollspy is a fun JavaScript component that adds some neat animation effects to our navbar.
It's fairly easy to implement and is the perfect component for beginners (i.e, you don't need to understand JavaScript to use it!)
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Scrollspy
To use, add the appropriate markup to your `<body>` tag. Then add an `id` to your navbar. This `id` should match the value you put in the `data-target`.
```
<body data-spy="scroll" data-target="#custom-navbar-id">
<nav class="..." id="custom-navbar-id">
```
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Scrollspy
Scrolling to each section is as simple as adding `id`s to the sections you want to navigate to (and adding each `id` to your navbar's `href` value).
```
<nav class="..." id="custom-navbar-id">
...
<li><a href="#home">Home</a></li>
...
</nav>
<div id="home">...</div>
```
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## ๐ Let's develop it!
Visit [Scrollspy](http://getbootstrap.com/javascript/#scrollspy)
1. Add Scrollspy to your website.
2. Add `id`s to each `<section>` you built.
3. Add each of these `id`s to your navbar.
4. Add a class of `.navbar-fixed-top` to your navbar.
5. Add custom CSS so the **padding** of each section looks right.
</textarea>
</section>
</section>
</div>
<footer>
<div class="copyright">
Bootstrap Workshop | GDI Cincinnati <a rel="license" href="http://creativecommons.org/licenses/by-nc/3.0/deed.en_US"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc/3.0/80x15.png" /></a>
</div>
</footer>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#dependencies
Reveal.initialize({
dependencies: [
{ src: 'plugin/markdown/marked.js' },
{ src: 'plugin/markdown/markdown.js' },
{ src: 'plugin/notes/notes.js', async: true },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }
]
});
</script>
</body>
</html>