aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBenjamin Tan <demoneaux@gmail.com>2018-02-06 19:39:03 +0800
committerBenjamin Tan <demoneaux@gmail.com>2018-02-06 19:39:03 +0800
commit80bc1971e017fcf3b90d7123b38e7c3c7472de2b (patch)
tree4dbced56d9a591b03c327c04ec9a0020585f0a2e /README.md
parenta0c013606e130baad976195730dcd7e7cd9e2855 (diff)
downloadfreenode-live-2017-presentation-80bc1971e017fcf3b90d7123b38e7c3c7472de2b.tar
freenode-live-2017-presentation-80bc1971e017fcf3b90d7123b38e7c3c7472de2b.tar.gz
Docs: Add note about Windows carriage returns.
Closes #1808.
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/README.md b/README.md
index 9d71472..563b305 100644
--- a/README.md
+++ b/README.md
@@ -126,11 +126,15 @@ You can write your content as a separate file and have reveal.js load it at runt
When used locally, this feature requires that reveal.js [runs from a local web server](#full-setup). The following example customises all available options:
```html
-<section data-markdown="example.md"
- data-separator="^\n\n\n"
- data-separator-vertical="^\n\n"
- data-separator-notes="^Note:"
+<section data-markdown="example.md"
+ data-separator="^\n\n\n"
+ data-separator-vertical="^\n\n"
+ data-separator-notes="^Note:"
data-charset="iso-8859-15">
+ <!--
+ Note that Windows uses `\r\n` instead of `\n` as its linefeed character.
+ For a regex that supports all operating systems, use `\r?\n` instead of `\n`.
+ -->
</section>
```