Commit Graph

1108 Commits (c7595b29a9edb520d4957a7dcf7ecdce56d4dc27)

Author SHA1 Message Date
VonC 83ee2eb00e Fix markdown.js slideAttributesSeparator selection. 2013-11-04 16:31:33 +01:00
VonC d6b8e4a246 Rebased on dev, and following contribution guideline. 2013-11-04 16:31:29 +01:00
VonC ec72e8cbc7 Fix markdown vertical wrapping section element generation. 2013-11-04 16:31:25 +01:00
VonC e1b11e737e Make sure a pattern doesn't include space. 2013-11-04 16:31:22 +01:00
VonC f6445a04a0 Fix bug on data attributes for first vertical slide.
The first slide of a vertical stack see some data attributes ignored.

Mainly the data-transition one.

Repeat all data-attributes on the wrapping section element.

Ignore any other attributes (like 'id="xxx"'), in order to not
mess with internal links (by repeating twice an id).
2013-11-04 16:31:18 +01:00
VonC c51ab74d72 Add attributes in markdown for slide generation.
By default, look for <!-- slide-attributes: xxxx -->.
Whatever 'xxx' is will be added to the section attributes.

You can define your own pattern with 'data-attributes'.
For instance 'data-attributes="^\s*?-- (.*?)$"':
that will be added to the options.

The 'attributes' section is removed from the content of the slide,
so the final markdown doesn't reflect them.
That also means you can add those attributes *anywhere* in the slide

But that allows for *any* attribute to be added for a specifc slide,
like:

- id="plan", for allowing internal link (issue #430)
- data-background="#ff0000"
- data-transition="fade"

You list those attributes on a single line, like

- (default):
` <!-- id="plan" data-background="#ff0000" -->`
- or, with an alternative data-attributes pattern:
` -- id="plan" data-background="#ff0000"`

Again, that line is remove from the final content.
2013-11-04 16:31:15 +01:00
Hakim El Hattab 7da98d8110 add concave and zoom background transitions 2013-11-04 07:53:07 -05:00
Hakim El Hattab d4e6fa12bf add convex background transition 2013-11-01 12:27:36 -04:00
Hakim El Hattab 778969c000 generate background hash under additional conditions 2013-11-01 12:27:09 -04:00
uriel f1dd807f66 change SlidesNumber position and start page counter at 0 instead 1 2013-10-31 19:47:13 +02:00
uriel 06078f987f synthetic fix 2013-10-31 00:51:34 +02:00
uriel dda885b71a move the slide-number out of the controls to a proper position and little fix to the updating event. 2013-10-31 00:49:07 +02:00
uriel 7b63cda19d Added slide numbers options and the css files updated as well.
the *.min.js didn't chaged yet.
2013-10-30 22:12:21 +02:00
Hakim El Hattab fcf91ec261 fix edge case in background transitions (closes #604) 2013-10-30 13:09:46 -04:00
Hakim El Hattab 89cc3f3a29 don't transition between identical backgrounds 2013-10-30 12:22:00 -04:00
Hakim El Hattab 080ae79b54 documentation for #677 2013-10-28 09:16:41 -04:00
Hakim El Hattab d844195be1 format tweaks markdown.js, remove extra image asset 2013-10-28 09:06:43 -04:00
Hakim El Hattab 6cf5269bfc Merge branch 'classes_in_markdown' of https://github.com/VonC/reveal.js into dev 2013-10-28 08:50:45 -04:00
Hakim El Hattab 8cb3c279b0 don't autoplay videos in notes window #624 2013-10-28 08:45:14 -04:00
VonC f92f2fdea6 Add unit-tests for attributes in mardown elements.
Test paragraphs, list items and img attributes.
2013-10-27 22:49:44 +01:00
VonC a87ce95794 Add 'data-element-attributes' attr. to 'section'.
By default '{\\\.\s*?([^}]+?)}'.
2013-10-27 22:49:43 +01:00
VonC 7aa93af0ca Cleanup code, remove console log debugs. 2013-10-27 22:49:43 +01:00
VonC 28198b2ff0 Add attributes extracted from an attribute.
Allows to add attributes to element of an attribute which contains
the attribute pattern.
2013-10-27 22:49:42 +01:00
VonC d20760f40d Uses the right method setAttribute.
Works better, and the html elements get their attributes.
2013-10-27 22:49:42 +01:00
VonC 0bc3a836fc First implem for adding classes to enclosing elts.
Extra text representing classes is detected and correctly removed.
Adding attributes isn't working yet.
2013-10-27 22:49:41 +01:00
Hakim El Hattab 82d2ae654d kill the shadow on table headers 2013-10-27 17:24:36 -04:00
Hakim El Hattab 3ad4320f61 documentation for iframe post messages 2013-10-27 16:39:20 -04:00
Hakim El Hattab 9dfaf8815a Merge branch 'dev' of github.com:hakimel/reveal.js into dev 2013-10-27 15:44:38 -04:00
Hakim El Hattab 7cb8d96529 merge vertical centering for individual slides 2013-10-27 15:44:26 -04:00
Hakim El Hattab 1b1dedd2bd contrib update 2013-10-27 15:42:22 -04:00
Hakim El Hattab 97b66d1fe0 apply @knownasilya's first slide detection fix to dev branch #671 2013-10-27 15:37:29 -04:00
Hakim El Hattab 806a2f53fc build latest js, format tweaks 2013-10-27 15:27:35 -04:00
Brad Gessler d66fe964bc Added support for postMessage's into any iframes for content that needs to do something when a slide is displayed and hidden. 2013-10-27 12:18:08 -07:00
Hakim El Hattab f1f28f61e6 plug potential xss vector 2013-10-24 08:59:52 -04:00
Michael Ekstrand 8473394643 Support per-slide centering
If config.center is false, this change centers slides with the
'center' class.
2013-10-23 21:34:05 -05:00
Hakim El Hattab c7077cf798 configure notes presentation through query string to avoid flicker 2013-10-22 09:21:49 -04:00
Hakim El Hattab f356d7228a include all themes in grunt task 2013-10-22 09:05:39 -04:00
Hakim El Hattab 1e6f9429df Merge branch 'dev' of https://github.com/Walther/reveal.js into dev 2013-10-22 08:41:44 -04:00
Hakim El Hattab 34a2cc5dce additional config valeus in readme, remove duplicate value, fix commas 2013-10-22 08:40:22 -04:00
Hakim El Hattab a28cae4d68 Merge branch 'update-readme' of https://github.com/aethanyc/reveal.js into dev 2013-10-22 08:39:27 -04:00
Hakim El Hattab 41a19baa8e merge readme conflict 2013-10-22 08:38:59 -04:00
Hakim El Hattab 9da2921b74 readme tweak #660 2013-10-22 08:33:39 -04:00
Hakim El Hattab e84a07cb78 Merge pull request #657 from asmaps/master
README: clone via https
2013-10-22 05:29:31 -07:00
Hakim El Hattab 1b0673d98e Merge pull request #664 from vertti/patch-1
add details to README on creating themes
2013-10-22 05:27:50 -07:00
Janne Sinivirta 3c2d394112 Add details to README on creating themes.
Closes #662.
2013-10-22 12:56:46 +03:00
Hakim El Hattab d761adf002 smooth reset of auto-slide progress, fix overlapping repaint calls 2013-10-19 09:35:51 -04:00
Hakim El Hattab 2736945385 don't increase body height to try and hide address bar, caused issues in ios 7 safari 2013-10-18 09:15:22 -04:00
Hakim El Hattab dd08b86a0f don't show auto slide controls if there's only one slide 2013-10-17 22:27:31 -04:00
Arne Schauf 465209c6fe clone via https - ssh not working anonymously 2013-10-17 23:07:15 +02:00
Hakim El Hattab 68318407a8 resume auto-sliding when autoSlide config value changes 2013-10-17 09:17:30 -04:00