diff options
author | Hakim El Hattab | 2013-02-27 15:32:47 -0500 |
---|---|---|
committer | Hakim El Hattab | 2013-02-27 15:32:47 -0500 |
commit | c438ba6516f5979e8f07093c48c34bc801d440fd (patch) | |
tree | 90ba5db2f071b7df9ea5672df2db51ca943e3fe1 /README.md | |
parent | 7cc0c8787d9f07efff0bc49ac655d19c6eebd8b6 (diff) |
example external markdown in readme (#329)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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. |