Skip to content
Snippets Groups Projects
Commit 80bc1971 authored by Benjamin Tan's avatar Benjamin Tan
Browse files

Docs: Add note about Windows carriage returns.

Closes #1808.
parent a0c01360
Branches
Tags
No related merge requests found
...@@ -126,11 +126,15 @@ You can write your content as a separate file and have reveal.js load it at runt ...@@ -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: 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 ```html
<section data-markdown="example.md" <section data-markdown="example.md"
data-separator="^\n\n\n" data-separator="^\n\n\n"
data-separator-vertical="^\n\n" data-separator-vertical="^\n\n"
data-separator-notes="^Note:" data-separator-notes="^Note:"
data-charset="iso-8859-15"> 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> </section>
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment