diff --git a/README.md b/README.md
index 962a8c32..02775537 100644
--- a/README.md
+++ b/README.md
@@ -14,12 +14,8 @@ This project was started and is maintained by [@hakimel](https://github.com/haki
- [Installation](#installation)
- [Basic setup](#basic-setup)
- [Full setup](#full-setup)
- - [Folder Structure](#folder-structure)
-- [Instructions](#instructions)
- - [Markup](#markup)
- - [Markdown](#markdown)
- - [Element Attributes](#element-attributes)
- - [Slide Attributes](#slide-attributes)
+- [Markup](#markup)
+- [Initialization](#initialization)
- [Configuration](#configuration)
- [Presentation Size](#presentation-size)
- [Dependencies](#dependencies)
@@ -49,6 +45,10 @@ This project was started and is maintained by [@hakimel](https://github.com/haki
- [Stretching elements](#stretching-elements)
- [Resize Event](#resize-event)
- [postMessage API](#postmessage-api)
+- [Markdown](#markdown)
+ - [External Markdown](#external-markdown)
+ - [Element Attributes](#element-attributes)
+ - [Slide Attributes](#slide-attributes)
- [PDF Export](#pdf-export)
- [Theming](#theming)
- [Speaker Notes](#speaker-notes)
@@ -98,14 +98,9 @@ Some reveal.js features, like external Markdown and speaker notes, require that
$ git clone https://github.com/hakimel/reveal.js.git
```
-1. Navigate to the reveal.js folder
+1. Move to the reveal.js folder and install dependencies
```sh
- $ cd reveal.js
- ```
-
-1. Install dependencies
- ```sh
- $ npm install
+ $ cd reveal.js && npm install
```
1. Serve the presentation and monitor source files for changes
@@ -117,17 +112,7 @@ Some reveal.js features, like external Markdown and speaker notes, require that
You can change the port by using `npm start -- --port=8001`.
-### Folder Structure
-
-- **css/** Core styles without which the project does not function
-- **js/** Like above but for JavaScript
-- **plugin/** Components that have been developed as extensions to reveal.js
-- **lib/** All other third party assets (JavaScript, CSS, fonts)
-
-
-## Instructions
-
-### Markup
+## Markup
Here's a barebones example of a fully working reveal.js presentation:
```html
@@ -165,79 +150,35 @@ The presentation markup hierarchy needs to be `.reveal > .slides > section` wher
```
-### Markdown
+It's also possible to write presentations using [Markdown](#markdown).
-It's possible to write your slides using Markdown. To enable Markdown, add the `data-markdown` attribute to your `` elements and wrap the contents in a `
-```
-
-#### Configuring *marked*
-
-We use [marked](https://github.com/chjj/marked) to parse Markdown. To customise marked's rendering, you can pass in options when [configuring Reveal](#configuration):
-
-```javascript
-Reveal.initialize({
- // Options which are passed into marked
- // See https://marked.js.org/#/USING_ADVANCED.md#options
- markdown: {
- smartypants: true
- }
-});
+ deck1.initialize();
+ deck2.initialize();
+
```
### Configuration
@@ -1253,6 +1194,80 @@ Reveal.initialize({
});
```
+## Markdown
+
+It's possible to write your slides using Markdown. To enable Markdown, add the `data-markdown` attribute to your `` elements and wrap the contents in a `