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

Unified Attribute syntax for slides and elements generated from markdown #734

Merged
merged 9 commits into from
Dec 2, 2013

Conversation

VonC
Copy link
Contributor

@VonC VonC commented Nov 30, 2013

After #677 and #640:

  • I simplified the implementation of "adding attributes on elements or slides generated from markdown".
  • I used an unified syntax
<!-- .slide: xx=yy ww=zz -->
<!-- .element: xx=yy ww=zz -->

See:

- on slides: .slide x=y
- on elements: .element x=y

Those are detected in html comment, in order to not be visible
if a markdown is edited in an html editor.
- Reformat.
- Change default separator test 'slide: x=y'
- Reformat
- Use new default separator format: '.element: x=y'
- Add new tests for testing that default format
- new default separator for slide attributes
- new default separator for element attributes
Illustrate both, in html comments.
@VonC
Copy link
Contributor Author

VonC commented Nov 30, 2013

@hakimel Coiuld you please consider a 2.6.1?

The current release is really not practical regarding the way it clumsily add 2 different syntax for adding attributes on markdown-generated slide and elements.

hakimel added a commit that referenced this pull request Dec 2, 2013
@hakimel hakimel merged commit fdb03b4 into hakimel:dev Dec 2, 2013
hakimel added a commit that referenced this pull request Dec 2, 2013
@hakimel
Copy link
Owner

hakimel commented Dec 2, 2013

Merged this in – the unified syntax is much nicer and the code looks cleaner as well. Nice job.

Will release this as 2.6.1 through master soon.

@VonC
Copy link
Contributor Author

VonC commented Dec 2, 2013

@hakimel Yes! Thank you :-)

@hakimel
Copy link
Owner

hakimel commented Dec 2, 2013

enovajuan pushed a commit to enovajuan/reveal.js that referenced this pull request Dec 2, 2014
enovajuan pushed a commit to enovajuan/reveal.js that referenced this pull request Dec 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants