Skip to content

Commit

Permalink
merge markdown in notes
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Sep 21, 2012
1 parent c5fe9bd commit 7075bc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ If you're interested in using speaker notes, reveal.js comes with a Node server

To include speaker notes in your presentation, simply add an `<aside class="notes">` element to any slide. These notes will be hidden in the main presentation view.

It's also possible to write your notes with Markdown. To enable Markdown, simply add the ```data-markdown``` attribute to your ```<aside>``` elements and reveal.js will automatically load the JavaScript parser.
It's also possible to write your notes with Markdown. To enable Markdown, add the ```data-markdown``` attribute to your note ```<aside>``` elements.

You'll also need to [install Node.js](http://nodejs.org/); then, install the server dependencies by running `npm install`.

Expand Down
2 changes: 1 addition & 1 deletion plugin/speakernotes/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
nextindexh : nextindexh,
nextindexv : nextindexv,
socketId : socketId,
markdown : notes ? notes.getAttribute('data-markdown') != null : false
markdown : notes ? typeof notes.getAttribute('data-markdown') === 'string' : false

};

Expand Down

0 comments on commit 7075bc2

Please sign in to comment.