aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-07-24 23:35:18 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-07-24 23:35:28 -0400
commit4c491e5eccd8533f45c4d3d18a04ac545babe351 (patch)
tree7523a56925222041de156950896ce0d6c6ba9a89
parent289ea804ad2c7b99981f49a97d55ae50600d24dc (diff)
downloadfreenode-live-2017-presentation-4c491e5eccd8533f45c4d3d18a04ac545babe351.tar
freenode-live-2017-presentation-4c491e5eccd8533f45c4d3d18a04ac545babe351.tar.gz
highlight charset option for external md in readme #537
-rw-r--r--README.md4
-rw-r--r--plugin/markdown/example.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 96f6b8c..f1a521e 100644
--- a/README.md
+++ b/README.md
@@ -52,10 +52,10 @@ This is based on [data-markdown](https://gist.github.com/1343518) from [Paul Iri
#### 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.
+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. The ```data-charset``` attribute is optional and specifies which charset to use when loading the external file.
```html
-<section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n"></section>
+<section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n" data-charset="iso-8859-15"></section>
```
### Configuration
diff --git a/plugin/markdown/example.html b/plugin/markdown/example.html
index 90ff134..ceed53f 100644
--- a/plugin/markdown/example.html
+++ b/plugin/markdown/example.html
@@ -16,8 +16,8 @@
<div class="slides">
- <!-- Use external markdown resource, separate slides by three newlines; vertical slides by two newlines and specify a custom charset -->
- <section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n" data-charset="iso-8859-15"></section>
+ <!-- Use external markdown resource, separate slides by three newlines; vertical slides by two newlines -->
+ <section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n"></section>
<!-- Slides are separated by three dashes (quick 'n dirty regular expression) -->
<section data-markdown data-separator="---">