aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-02-27 15:32:47 -0500
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-02-27 15:32:47 -0500
commitc438ba6516f5979e8f07093c48c34bc801d440fd (patch)
tree90ba5db2f071b7df9ea5672df2db51ca943e3fe1 /README.md
parent7cc0c8787d9f07efff0bc49ac655d19c6eebd8b6 (diff)
downloadfreenode-live-2017-presentation-c438ba6516f5979e8f07093c48c34bc801d440fd.tar
freenode-live-2017-presentation-c438ba6516f5979e8f07093c48c34bc801d440fd.tar.gz
example external markdown in readme (#329)
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 22216da..f4b5e6e 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,14 @@ This is based on [data-markdown](https://gist.github.com/1343518) from [Paul Iri
</section>
```
+#### External Markdown
+
+You can write your content as a separate file and have reveal.js load it at runtime. Note the separator arguments which determine how slides are delimited in the external file.
+
+```html
+<section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n"></section>
+```
+
### Configuration
At the end of your page you need to initialize reveal by running the following code. Note that all config values are optional and will default as specified below.