Commit graph

1305 commits

Author SHA1 Message Date
Hakim El Hattab
c8b46050a0 Merge branch 'current-style' of https://github.com/gturri/reveal.js into dev 2013-11-26 12:16:21 -05:00
Hakim El Hattab
e947f0f216 add zoomKey option for #700 2013-11-26 09:00:04 -05:00
Guillaume Turri
b46fd8dd70 Added some styles using the current-fragment class
according to README, I don't include reveal.min.js.
Hence I believe it makes sense to not include reveal.min.css either.
Hence, examples added in index.html can give the feeling that they don't work yet.
2013-11-26 07:47:03 +01:00
Hakim El Hattab
adbf36ad47 readme format correction 2013-11-25 21:15:56 -05:00
Hakim El Hattab
7730f2bab5 Merge pull request #721 from hakimel/refactor/fragments
Refactor fragments
2013-11-25 16:56:58 -08:00
Hakim El Hattab
d41a5ca87f update future classes when syncing 2013-11-25 15:40:24 -05:00
Hakim El Hattab
0fcff33a61 additional fragment tests 2013-11-25 15:26:22 -05:00
Hakim El Hattab
0fb343f5bf rewrite all fragment indices on startup 2013-11-25 15:26:10 -05:00
Hakim El Hattab
3427561b64 rewrite fragment sorting to account for multiple fragments with the same index 2013-11-25 14:45:14 -05:00
Hakim El Hattab
ef82645589 remove current-fragment when leaving slide, add tests for current fragment 2013-11-23 17:13:14 -05:00
Hakim El Hattab
ead723bc1c rename markdown tests to use same naming format as other tests 2013-11-23 16:29:37 -05:00
Hakim El Hattab
c33aa66666 respect original dom order of fragments with no explicit index 2013-11-21 09:22:20 -05:00
Hakim El Hattab
2faae3d95b rewrite fragment index attributes to leave no gaps between fragments 2013-11-21 09:16:40 -05:00
Hakim El Hattab
60a74ebfa3 fragments are now zero-indexed 2013-11-21 09:01:18 -05:00
Thomas Endres
08808abf04 Issue #698: Fixed tests 2013-11-19 21:10:20 +01:00
Thomas Endres
ffd8ccbffa Issue #698: Non-async script callbacks are now also called before starting Reveal 2013-11-19 20:56:51 +01:00
Thomas Endres
0ffbe8d09c Issue #698: Non-async scripts were not executed before Reveal started 2013-11-19 20:56:40 +01:00
Hakim El Hattab
9d0ac52780 fragment comments, remove debug code 2013-11-18 09:14:01 -05:00
Hakim El Hattab
8550186afc use new fragment nav method from slide() 2013-11-18 09:13:39 -05:00
Hakim El Hattab
b4e2c97d0c initial fragment rewrite 2013-11-18 09:01:33 -05:00
Hakim El Hattab
e0dccd85be Merge branch 'feature/more-languages' of https://github.com/haf/reveal.js into dev 2013-11-17 17:20:49 -05:00
Hakim El Hattab
85c2a0a3c1 slide number changes; config value renamed, added to readme, moved to right side of screen 2013-11-17 17:13:26 -05:00
Hakim El Hattab
bdb46060b3 merge slide numbers, adjust code format 2013-11-17 17:05:23 -05:00
Hakim El Hattab
c4d7b1b93f make background transition default to exact same speed as normal transitions 2013-11-09 11:41:15 -05:00
Hakim El Hattab
f31644cca8 change transition easing for zooms 2013-11-08 09:29:49 -05:00
Hakim El Hattab
23bcd1eb1f rebuild css with change from #691 2013-11-08 08:15:48 -05:00
Hakim El Hattab
705d5a012c define normal font widths in all themes to make sure things look the same after #691 2013-11-08 08:11:35 -05:00
Hakim El Hattab
3a8bcb174a Merge pull request #691 from fghaas/section-fontweight
CSS: Don't override font-weight for section
2013-11-07 10:07:13 -08:00
Florian Haas
0069e3ad14 CSS: Don't override font-weight for section
.slides>section and .slides>section>section set the font-weight to
"normal". This overrides any font-weight setting a theme may set at
the body or .reveal level, and requires a theme author to also
specifically set the font-weight for .slides>section and
.slides>section>section. That's tedious and also counterintuitive.

Adopt a saner default by setting the font-weight to inherit.
2013-11-08 00:39:34 +08:00
Hakim El Hattab
5eff8902ff remove old inaccurate comment 2013-11-07 10:17:39 -05:00
Hakim El Hattab
3653ad5b19 comments 2013-11-07 09:15:56 -05:00
Hakim El Hattab
150cb81405 data-autoslide on vertical parent now applies to all child slides #685 2013-11-07 09:12:49 -05:00
Hakim El Hattab
a119c83f86 ensure that all fragments on past slides are visible #684 2013-11-07 08:39:19 -05:00
Hakim El Hattab
e7e941b663 add code slide to markdown example #682 2013-11-07 08:03:22 -05:00
Hakim El Hattab
6afec76bf0 readme adjustment 2013-11-06 08:52:21 -05:00
VonC
4b0fe47bb6 Add slide attributes for single slide section case. 2013-11-06 11:06:03 +01:00
VonC
efbb31cf29 Add mardown-based slide attribute examples. 2013-11-04 16:31:58 +01:00
VonC
1774de2113 Add unit test for default slide attributes separator pattern. 2013-11-04 16:31:54 +01:00
VonC
2cdd1afe85 Remove console.log debugs, and fix tabs 2013-11-04 16:31:51 +01:00
VonC
492a094955 Fix default separator pattern for attribute in slide. 2013-11-04 16:31:47 +01:00
VonC
198821f52b Restore default notation for attributes in element.
It should be `{. xxxx=yyy }`, not `{_ xxxx=yyy }`.
Only test/test-element-attributes-markdown.html were using `{_`,
simply in order to test the ability, for the user, to define a _different_ pattern.
2013-11-04 16:31:44 +01:00
VonC
d098385103 Restore proper pattern for attributes in elements.
It is important that test/test-element-attributes-markdown.html do test
the ability for the user to define its own pattern.
2013-11-04 16:31:40 +01:00
VonC
4def7f116c Add QUnit.js unit tests for attributes in Markdown slides. 2013-11-04 16:31:37 +01:00
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