Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for notes within markdown #510

Merged
merged 1 commit into from
Aug 21, 2013
Merged

Support for notes within markdown #510

merged 1 commit into from
Aug 21, 2013

Conversation

adamhepton
Copy link
Contributor

Added a new attribute when using markdown, data-notes, which means anything between that selector and either the data-separator or data-vertical selectors is parsed into an <aside class=notes>.

@hakimel
Copy link
Owner

hakimel commented Jul 11, 2013

Haven't been able to get this working, can you add an example to https://github.com/hakimel/reveal.js/blob/master/plugin/markdown/example.html as part of the PR?

@@ -55,7 +55,7 @@ This is based on [data-markdown](https://gist.github.com/1343518) from [Paul Iri
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>
<section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n" data-notes="^[[["></section>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the [ characters need to be escaped: ^\[\[\[.

@hakimel
Copy link
Owner

hakimel commented Aug 21, 2013

Was able to get this working now. It has been merged into the dev branch and will be released as part of reveal.js 2.5.0.

Thanks @adamhepton !

@hakimel hakimel merged commit 245efee into hakimel:master Aug 21, 2013
@adamhepton adamhepton deleted the upstream branch August 21, 2013 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants