reveal.js.git
10 years agoMakefile: Add an image-conversion makefile
W. Trevor King [Fri, 17 Jan 2014 03:55:31 +0000 (19:55 -0800)]
Makefile: Add an image-conversion makefile

Not all images will be SVGs.  This Makefile handles converting other
formats to consistently sized PNGs, so you don't have to do the
conversion in your browser during the presentation itself.  The
Makefile is adapted from the one I developed for my thesis defense
[1], as of 3fdff3b (index.html.itex: List new software in conclusions,
2013-05-28), and is licensed under the same MIT license Hakim uses for
Reveal.js.

[1]: http://git.tremily.us/?p=reveal.js.git;a=blob;f=Makefile;hb=refs/heads/thesis

10 years agomedia/src/vector/SWC-logo.svg: Add Software Carpentry logo
W. Trevor King [Fri, 17 Jan 2014 03:48:46 +0000 (19:48 -0800)]
media/src/vector/SWC-logo.svg: Add Software Carpentry logo

This logo is from the SWC assets repo [1], and it's content hasn't
changed since be1d25b (Adding source files for graphic identity,
2012-12-20).  It is distributed under the Creative Commons Attribution
3.0 license [2], although I'm not sure if Greg Wilson (the author of
be1d25b) is also the copyright holder who should be attributed or not.
Attributing "Software Carpentry" is probably fine.

[1]: https://github.com/swcarpentry/assets/blob/master/branding/logo/shirt-logo.svg
[2]: http://creativecommons.org/licenses/by/3.0/legalcode

10 years agomedia/src/vector/USACE-logo.svg: Add Corps Castle
W. Trevor King [Fri, 17 Jan 2014 03:43:01 +0000 (19:43 -0800)]
media/src/vector/USACE-logo.svg: Add Corps Castle

Add the logo of the United States Army Corps of Engineers, which is in
the public domain.  This particular file is from Wikipedia [1,2].

[1]: http://upload.wikimedia.org/wikipedia/commons/3/35/United_States_Army_Corps_of_Engineers_logo.svg
[2]: http://en.wikipedia.org/wiki/File:United_States_Army_Corps_of_Engineers_logo.svg
     Posted by Slady on 2006-09-29 23:26.

11 years agoThe index.html page had the simple theme listed twice. The duplicate was removed.
Alex Juarez [Wed, 4 Dec 2013 21:41:06 +0000 (15:41 -0600)]
The index.html page had the simple theme listed twice. The duplicate was removed.
For the Moon and Solarized themes they had .css appended to them which was causing them to not come up.

11 years agoadd instructions to features that require a local web server (closes #732, #673,...
Hakim El Hattab [Mon, 2 Dec 2013 20:33:44 +0000 (21:33 +0100)]
add instructions to features that require a local web server (closes #732, #673, #559)

11 years ago2.6.1 #734
Hakim El Hattab [Mon, 2 Dec 2013 11:24:18 +0000 (12:24 +0100)]
2.6.1 #734

11 years agorename markdown attribute test files to same format
Hakim El Hattab [Mon, 2 Dec 2013 11:23:18 +0000 (12:23 +0100)]
rename markdown attribute test files to same format

11 years agoadd example of markdown slide and element attributes
Hakim El Hattab [Mon, 2 Dec 2013 11:20:48 +0000 (12:20 +0100)]
add example of markdown slide and element attributes

11 years agoreadme correction for #734
Hakim El Hattab [Mon, 2 Dec 2013 11:20:29 +0000 (12:20 +0100)]
readme correction for #734

11 years agoMerge branch 'attributes' of https://github.com/VonC/reveal.js into dev
Hakim El Hattab [Mon, 2 Dec 2013 11:12:27 +0000 (12:12 +0100)]
Merge branch 'attributes' of https://github.com/VonC/reveal.js into dev

11 years agoREADME.md mentions the new default separators.
VonC [Sat, 30 Nov 2013 22:11:13 +0000 (23:11 +0100)]
README.md mentions the new default separators.

- new default separator for slide attributes
- new default separator for element attributes
Illustrate both, in html comments.

11 years agotest-markdown-element-attributes: formats and test.
VonC [Sat, 30 Nov 2013 22:08:43 +0000 (23:08 +0100)]
test-markdown-element-attributes: formats and test.

- Reformat
- Use new default separator format: '.element: x=y'
- Add new tests for testing that default format

11 years agotest-markdown-attributes.*, new default separator
VonC [Sat, 30 Nov 2013 22:06:47 +0000 (23:06 +0100)]
test-markdown-attributes.*, new default separator

- Reformat.
- Change default separator test 'slide: x=y'

11 years agoSimpler default syntax for markdown attributes.
VonC [Sat, 30 Nov 2013 21:29:04 +0000 (22:29 +0100)]
Simpler default syntax for markdown attributes.

- 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.

11 years agoRemoves console.log calls.
VonC [Thu, 28 Nov 2013 21:12:22 +0000 (22:12 +0100)]
Removes console.log calls.

11 years agoFix previous element selection.
VonC [Thu, 28 Nov 2013 21:10:23 +0000 (22:10 +0100)]
Fix previous element selection.

11 years agoFix element attributes, except for multi-line.
VonC [Wed, 27 Nov 2013 21:48:01 +0000 (22:48 +0100)]
Fix element attributes, except for multi-line.

11 years agoRemove section attribute implementation.
VonC [Mon, 25 Nov 2013 21:05:23 +0000 (22:05 +0100)]
Remove section attribute implementation.

11 years agoFirst refactoring
VonC [Sun, 24 Nov 2013 20:27:30 +0000 (21:27 +0100)]
First refactoring

11 years agoMerge branch 'dev' of github.com:hakimel/reveal.js
Hakim El Hattab [Thu, 28 Nov 2013 21:48:46 +0000 (16:48 -0500)]
Merge branch 'dev' of github.com:hakimel/reveal.js

11 years agodocumentation for slide numbers
Hakim El Hattab [Thu, 28 Nov 2013 21:48:36 +0000 (16:48 -0500)]
documentation for slide numbers

11 years agotests for initial section classes
Hakim El Hattab [Thu, 28 Nov 2013 16:31:16 +0000 (11:31 -0500)]
tests for initial section classes

11 years agoMerge branch 'dev' of github.com:hakimel/reveal.js
Hakim El Hattab [Thu, 28 Nov 2013 14:35:28 +0000 (09:35 -0500)]
Merge branch 'dev' of github.com:hakimel/reveal.js

11 years agoonly run vertical slide setup during startup #726
Hakim El Hattab [Thu, 28 Nov 2013 14:35:04 +0000 (09:35 -0500)]
only run vertical slide setup during startup #726

11 years agoadd example for parallax backgrounds
Hakim El Hattab [Wed, 27 Nov 2013 19:49:39 +0000 (14:49 -0500)]
add example for parallax backgrounds

11 years agoimprovement to query string parsing
Hakim El Hattab [Wed, 27 Nov 2013 18:16:03 +0000 (13:16 -0500)]
improvement to query string parsing

11 years agoinclude slide number color in theme template
Hakim El Hattab [Wed, 27 Nov 2013 16:00:21 +0000 (11:00 -0500)]
include slide number color in theme template

11 years agoremove dev flag from version
Hakim El Hattab [Wed, 27 Nov 2013 15:46:49 +0000 (10:46 -0500)]
remove dev flag from version

11 years agoMerge branch 'patch-1' of https://github.com/luishgo/reveal.js into dev
Hakim El Hattab [Wed, 27 Nov 2013 14:13:39 +0000 (09:13 -0500)]
Merge branch 'patch-1' of https://github.com/luishgo/reveal.js into dev

11 years agoFix for issue #715
Luis HGO [Wed, 27 Nov 2013 12:38:48 +0000 (10:38 -0200)]
Fix for issue #715

11 years agowhen there is data-autoplay:ing media, prolong autoSlide to match its duration #723
Hakim El Hattab [Tue, 26 Nov 2013 23:22:01 +0000 (18:22 -0500)]
when there is data-autoplay:ing media, prolong autoSlide to match its duration #723

11 years agoremove debug code
Hakim El Hattab [Tue, 26 Nov 2013 22:41:01 +0000 (17:41 -0500)]
remove debug code

11 years agocode format tweaks
Hakim El Hattab [Tue, 26 Nov 2013 22:32:43 +0000 (17:32 -0500)]
code format tweaks

11 years agoMerge branch 'dev' of https://github.com/theone1984/reveal.js into dev
Hakim El Hattab [Tue, 26 Nov 2013 22:08:43 +0000 (17:08 -0500)]
Merge branch 'dev' of https://github.com/theone1984/reveal.js into dev

11 years agouse fragment name in example
Hakim El Hattab [Tue, 26 Nov 2013 17:20:57 +0000 (12:20 -0500)]
use fragment name in example

11 years agoMerge branch 'current-style' of https://github.com/gturri/reveal.js into dev
Hakim El Hattab [Tue, 26 Nov 2013 17:16:21 +0000 (12:16 -0500)]
Merge branch 'current-style' of https://github.com/gturri/reveal.js into dev

11 years agoadd zoomKey option for #700
Hakim El Hattab [Tue, 26 Nov 2013 14:00:04 +0000 (09:00 -0500)]
add zoomKey option for #700

11 years agoAdded some styles using the current-fragment class
Guillaume Turri [Sat, 16 Nov 2013 09:45:02 +0000 (10:45 +0100)]
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.

11 years agoreadme format correction
Hakim El Hattab [Tue, 26 Nov 2013 02:15:56 +0000 (21:15 -0500)]
readme format correction

11 years agoMerge pull request #721 from hakimel/refactor/fragments
Hakim El Hattab [Tue, 26 Nov 2013 00:56:58 +0000 (16:56 -0800)]
Merge pull request #721 from hakimel/refactor/fragments

Refactor fragments

11 years agoupdate future classes when syncing
Hakim El Hattab [Mon, 25 Nov 2013 20:40:24 +0000 (15:40 -0500)]
update future classes when syncing

11 years agoadditional fragment tests
Hakim El Hattab [Mon, 25 Nov 2013 20:26:22 +0000 (15:26 -0500)]
additional fragment tests

11 years agorewrite all fragment indices on startup
Hakim El Hattab [Mon, 25 Nov 2013 20:26:10 +0000 (15:26 -0500)]
rewrite all fragment indices on startup

11 years agorewrite fragment sorting to account for multiple fragments with the same index
Hakim El Hattab [Mon, 25 Nov 2013 19:45:14 +0000 (14:45 -0500)]
rewrite fragment sorting to account for multiple fragments with the same index

11 years agoremove current-fragment when leaving slide, add tests for current fragment
Hakim El Hattab [Sat, 23 Nov 2013 22:13:14 +0000 (17:13 -0500)]
remove current-fragment when leaving slide, add tests for current fragment

11 years agorename markdown tests to use same naming format as other tests
Hakim El Hattab [Sat, 23 Nov 2013 21:29:37 +0000 (16:29 -0500)]
rename markdown tests to use same naming format as other tests

11 years agorespect original dom order of fragments with no explicit index
Hakim El Hattab [Thu, 21 Nov 2013 14:22:20 +0000 (09:22 -0500)]
respect original dom order of fragments with no explicit index

11 years agorewrite fragment index attributes to leave no gaps between fragments
Hakim El Hattab [Thu, 21 Nov 2013 14:16:40 +0000 (09:16 -0500)]
rewrite fragment index attributes to leave no gaps between fragments

11 years agofragments are now zero-indexed
Hakim El Hattab [Thu, 21 Nov 2013 14:01:18 +0000 (09:01 -0500)]
fragments are now zero-indexed

11 years agoIssue #698: Fixed tests
Thomas Endres [Tue, 19 Nov 2013 20:10:20 +0000 (21:10 +0100)]
Issue #698: Fixed tests

11 years agoIssue #698: Non-async script callbacks are now also called before starting Reveal
Thomas Endres [Sun, 10 Nov 2013 15:16:49 +0000 (16:16 +0100)]
Issue #698: Non-async script callbacks are now also called before starting Reveal

11 years agoIssue #698: Non-async scripts were not executed before Reveal started
Thomas Endres [Sun, 10 Nov 2013 13:48:50 +0000 (14:48 +0100)]
Issue #698: Non-async scripts were not executed before Reveal started

11 years agofragment comments, remove debug code
Hakim El Hattab [Mon, 18 Nov 2013 14:14:01 +0000 (09:14 -0500)]
fragment comments, remove debug code

11 years agouse new fragment nav method from slide()
Hakim El Hattab [Mon, 18 Nov 2013 14:13:34 +0000 (09:13 -0500)]
use new fragment nav method from slide()

11 years agoinitial fragment rewrite
Hakim El Hattab [Mon, 18 Nov 2013 14:01:33 +0000 (09:01 -0500)]
initial fragment rewrite

11 years agoMerge branch 'feature/more-languages' of https://github.com/haf/reveal.js into dev
Hakim El Hattab [Sun, 17 Nov 2013 22:20:49 +0000 (17:20 -0500)]
Merge branch 'feature/more-languages' of https://github.com/haf/reveal.js into dev

11 years agoslide number changes; config value renamed, added to readme, moved to right side...
Hakim El Hattab [Sun, 17 Nov 2013 22:13:26 +0000 (17:13 -0500)]
slide number changes; config value renamed, added to readme, moved to right side of screen

11 years agomerge slide numbers, adjust code format
Hakim El Hattab [Sun, 17 Nov 2013 22:05:23 +0000 (17:05 -0500)]
merge slide numbers, adjust code format

11 years agomake background transition default to exact same speed as normal transitions
Hakim El Hattab [Sat, 9 Nov 2013 16:41:15 +0000 (11:41 -0500)]
make background transition default to exact same speed as normal transitions

11 years agochange transition easing for zooms
Hakim El Hattab [Fri, 8 Nov 2013 14:29:49 +0000 (09:29 -0500)]
change transition easing for zooms

11 years agorebuild css with change from #691
Hakim El Hattab [Fri, 8 Nov 2013 13:15:48 +0000 (08:15 -0500)]
rebuild css with change from #691

11 years agodefine normal font widths in all themes to make sure things look the same after #691
Hakim El Hattab [Fri, 8 Nov 2013 13:11:35 +0000 (08:11 -0500)]
define normal font widths in all themes to make sure things look the same after #691

11 years agoMerge pull request #691 from fghaas/section-fontweight
Hakim El Hattab [Thu, 7 Nov 2013 18:07:13 +0000 (10:07 -0800)]
Merge pull request #691 from fghaas/section-fontweight

CSS: Don't override font-weight for section

11 years agoCSS: Don't override font-weight for section
Florian Haas [Wed, 30 Oct 2013 13:34:27 +0000 (14:34 +0100)]
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.

11 years agoremove old inaccurate comment
Hakim El Hattab [Thu, 7 Nov 2013 15:17:39 +0000 (10:17 -0500)]
remove old inaccurate comment

11 years agocomments
Hakim El Hattab [Thu, 7 Nov 2013 14:15:56 +0000 (09:15 -0500)]
comments

11 years agodata-autoslide on vertical parent now applies to all child slides #685
Hakim El Hattab [Thu, 7 Nov 2013 14:12:49 +0000 (09:12 -0500)]
data-autoslide on vertical parent now applies to all child slides #685

11 years agoensure that all fragments on past slides are visible #684
Hakim El Hattab [Thu, 7 Nov 2013 13:39:19 +0000 (08:39 -0500)]
ensure that all fragments on past slides are visible #684

11 years agoadd code slide to markdown example #682
Hakim El Hattab [Thu, 7 Nov 2013 13:03:22 +0000 (08:03 -0500)]
add code slide to markdown example #682

11 years agoreadme adjustment
Hakim El Hattab [Wed, 6 Nov 2013 13:52:21 +0000 (08:52 -0500)]
readme adjustment

11 years agoAdd slide attributes for single slide section case.
VonC [Wed, 6 Nov 2013 10:06:03 +0000 (11:06 +0100)]
Add slide attributes for single slide section case.

11 years agoAdd mardown-based slide attribute examples.
VonC [Tue, 29 Oct 2013 13:36:35 +0000 (14:36 +0100)]
Add mardown-based slide attribute examples.

11 years agoAdd unit test for default slide attributes separator pattern.
VonC [Tue, 29 Oct 2013 13:29:01 +0000 (14:29 +0100)]
Add unit test for default slide attributes separator pattern.

11 years agoRemove console.log debugs, and fix tabs
VonC [Tue, 29 Oct 2013 13:28:29 +0000 (14:28 +0100)]
Remove console.log debugs, and fix tabs

11 years agoFix default separator pattern for attribute in slide.
VonC [Tue, 29 Oct 2013 13:26:01 +0000 (14:26 +0100)]
Fix default separator pattern for attribute in slide.

11 years agoRestore default notation for attributes in element.
VonC [Mon, 28 Oct 2013 13:48:52 +0000 (14:48 +0100)]
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.

11 years agoRestore proper pattern for attributes in elements.
VonC [Mon, 28 Oct 2013 13:46:33 +0000 (14:46 +0100)]
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.

11 years agoAdd QUnit.js unit tests for attributes in Markdown slides.
VonC [Mon, 14 Oct 2013 11:37:48 +0000 (13:37 +0200)]
Add QUnit.js unit tests for attributes in Markdown slides.

11 years agoFix markdown.js slideAttributesSeparator selection.
VonC [Mon, 14 Oct 2013 10:33:55 +0000 (12:33 +0200)]
Fix markdown.js slideAttributesSeparator selection.

11 years agoRebased on dev, and following contribution guideline.
VonC [Fri, 11 Oct 2013 06:47:02 +0000 (08:47 +0200)]
Rebased on dev, and following contribution guideline.

11 years agoFix markdown vertical wrapping section element generation.
VonC [Thu, 10 Oct 2013 09:45:39 +0000 (11:45 +0200)]
Fix markdown vertical wrapping section element generation.

11 years agoMake sure a pattern doesn't include space.
VonC [Thu, 10 Oct 2013 09:45:06 +0000 (11:45 +0200)]
Make sure a pattern doesn't include space.

11 years agoFix bug on data attributes for first vertical slide.
VonC [Thu, 10 Oct 2013 08:57:18 +0000 (10:57 +0200)]
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).

11 years agoAdd attributes in markdown for slide generation.
VonC [Thu, 10 Oct 2013 06:47:32 +0000 (08:47 +0200)]
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.

11 years agoadd concave and zoom background transitions
Hakim El Hattab [Mon, 4 Nov 2013 12:53:07 +0000 (07:53 -0500)]
add concave and zoom background transitions

11 years agoadd convex background transition
Hakim El Hattab [Fri, 1 Nov 2013 16:27:36 +0000 (12:27 -0400)]
add convex background transition

11 years agogenerate background hash under additional conditions
Hakim El Hattab [Fri, 1 Nov 2013 16:27:09 +0000 (12:27 -0400)]
generate background hash under additional conditions

11 years agochange SlidesNumber position and start page counter at 0 instead 1
uriel [Thu, 31 Oct 2013 17:47:13 +0000 (19:47 +0200)]
change SlidesNumber position and start page counter at 0 instead 1

11 years agosynthetic fix
uriel [Wed, 30 Oct 2013 22:51:34 +0000 (00:51 +0200)]
synthetic fix

11 years agomove the slide-number out of the controls to a proper position and little fix to...
uriel [Wed, 30 Oct 2013 22:49:07 +0000 (00:49 +0200)]
move the slide-number out of the controls to a proper position and little fix to the updating event.

11 years agoAdded slide numbers options and the css files updated as well.
uriel [Wed, 30 Oct 2013 20:12:21 +0000 (22:12 +0200)]
Added slide numbers options and the css files updated as well.

the *.min.js didn't chaged yet.

11 years agofix edge case in background transitions (closes #604)
Hakim El Hattab [Wed, 30 Oct 2013 17:09:46 +0000 (13:09 -0400)]
fix edge case in background transitions (closes #604)

11 years agodon't transition between identical backgrounds
Hakim El Hattab [Wed, 30 Oct 2013 16:22:00 +0000 (12:22 -0400)]
don't transition between identical backgrounds

11 years agodocumentation for #677
Hakim El Hattab [Mon, 28 Oct 2013 13:16:41 +0000 (09:16 -0400)]
documentation for #677

11 years agoformat tweaks markdown.js, remove extra image asset
Hakim El Hattab [Mon, 28 Oct 2013 13:06:43 +0000 (09:06 -0400)]
format tweaks markdown.js, remove extra image asset

11 years agoMerge branch 'classes_in_markdown' of https://github.com/VonC/reveal.js into dev
Hakim El Hattab [Mon, 28 Oct 2013 12:50:45 +0000 (08:50 -0400)]
Merge branch 'classes_in_markdown' of https://github.com/VonC/reveal.js into dev

11 years agodon't autoplay videos in notes window #624
Hakim El Hattab [Mon, 28 Oct 2013 12:45:14 +0000 (08:45 -0400)]
don't autoplay videos in notes window #624

11 years agoAdd unit-tests for attributes in mardown elements.
VonC [Sun, 27 Oct 2013 18:57:12 +0000 (19:57 +0100)]
Add unit-tests for attributes in mardown elements.

Test paragraphs, list items and img attributes.

11 years agoAdd 'data-element-attributes' attr. to 'section'.
VonC [Sat, 26 Oct 2013 22:27:44 +0000 (00:27 +0200)]
Add 'data-element-attributes' attr. to 'section'.

By default '{\\\.\s*?([^}]+?)}'.

11 years agoCleanup code, remove console log debugs.
VonC [Sat, 26 Oct 2013 20:33:43 +0000 (22:33 +0200)]
Cleanup code, remove console log debugs.