Commit Graph

1093 Commits

Author SHA1 Message Date
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
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
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