Commit Graph

153 Commits (97d4eb1056f281dd83b9ba0027547a45a6367ce6)

Author SHA1 Message Date
Thomas Rosenau 28d370f2af Use Math.floor instead of parseInt to avoid problems with very small numbers like 2e-10 2013-06-02 11:02:53 +02:00
Hakim El Hattab b67889049a viewport meta to fit notes window on ipad 2013-05-19 17:01:52 -04:00
Hakim El Hattab d1a97b379f float fix in notes-server plugin 2013-05-19 16:42:36 -04:00
Hakim El Hattab db4eb20bc3 merge notes float fix and support for multiple fragments with same index 2013-05-05 18:44:10 -04:00
Eric Weikl 88eb0af776 Allow override of HTML escaping in code blocks
This way, authors can use HTML for special formatting.
2013-05-05 16:19:08 +02:00
Hakim El Hattab f157aec1de Merge branch 'remotes-plugin-natural-bindings' of https://github.com/toy/reveal.js into dev 2013-05-04 15:03:19 -04:00
Ivan Kuchin 352ec7e9ad remotes plugin more natural bindings: tap — next, zoom-out — activate overview, zoom-in — deactivate overview 2013-05-04 02:27:55 +02:00
Amit Kotlovski 0cbe741afd remove lang prefix from marked.js to fix highlight issue 2013-05-02 18:42:12 +03:00
Hakim El Hattab 39b53a7b3c minify marked #433 2013-05-02 09:18:28 -04:00
Hakim El Hattab beda5f4881 merge showdown to marked migration 2013-05-02 09:09:33 -04:00
Nigel Stanger 1219564e05 Added clear:left to notes DIV
Resolves an issue where the first label (e.g., first bullet or first
number) of a list would wrap to the right side of the window and be
hidden under the clock element.
2013-05-02 12:02:46 +12:00
Amit Kotlovski 381da383d9 Replace the ShowDown Markdown engine with marked 2013-05-01 23:10:31 +03:00
Raymond Camden b649c19af9 Moved my code to auto escape html to the right place 2013-05-01 14:44:53 -05:00
Hakim El Hattab f210e7b1b5 avoid errors in old ie from code highlighting 2013-04-28 14:12:31 -04:00
Hakim El Hattab a764c21cd1 add support for data-trim attribute on code elements (closes #419) 2013-04-27 15:50:33 -04:00
Hakim El Hattab 07d0ed8ba6 note included languages in highlight.js build #421 2013-04-27 15:22:37 -04:00
Hakim El Hattab 889692e26a support code highlighting of a few more common languages #421 2013-04-27 13:22:08 -04:00
Hakim El Hattab 914a12e9cf forward all attributes for markdown slides (#413) 2013-04-20 09:16:41 -04:00
Martin Kurtsson 6536d8467f Added support for data-state in section when using external markdown files. 2013-04-20 12:45:11 +02:00
Hakim El Hattab 70b7ce360c return current fragment index through getIndices, replaces getCurrentFragmentIndex #395 2013-04-16 08:59:35 -04:00
Hakim El Hattab 5181f6e17f Merge branch 'master' of https://github.com/ainformatico/reveal.js into dev 2013-04-15 09:01:45 -04:00
Alejandro El Informático 87894e5503 fix prevents loading remote plugin several times when notes are enabled 2013-04-08 16:18:34 +02:00
tkaczmarzyk c12b780736 broadcasting fragments state in multiplex plugin (#394) 2013-04-06 13:19:34 +02:00
Hakim El Hattab 433c7a66cd Merge branch 'md-error-handling' of https://github.com/jakubholynet/reveal.js into dev 2013-03-30 21:54:30 -04:00
Jakub Holy f6487dc312 More verbose error slide (HTTP necessary) 2013-03-24 23:30:50 +01:00
Jakub Holy 8fd28a9185 Better error reporting for external Markdown files
1. Show an alert when loading the file throws an exception
2. Whenever the status isn't success (2xx) - upon exception or e.g.
  "file not found" - replace the section's content with information
  about the failure (instead of being silent about it and showing
  a blank slide).

We need to inform the user something went wrong, not just be silent
about it. An experienced developer, upon seing a blank slide, will
likely check the javascript console - but the rest will profit from
being told about the problem (and solution) explicitely.
2013-03-24 18:06:44 +01:00
David Banham ccaadaad45 Error check to prevent exception from Cipher 2013-03-11 09:25:26 +11:00
Hakim El Hattab 75ffa604d8 remove unused file (closes #360) 2013-03-10 11:57:08 -04:00
David Banham 523989a21c Remove unessecary file 2013-03-10 14:00:21 +11:00
Hakim El Hattab 13046a0337 merge search plugin, adjust styles 2013-03-08 19:48:30 -05:00
Hakim El Hattab e0e98a2275 Merge branch 'searchplugin' of https://github.com/razor-1/reveal.js 2013-03-08 19:39:21 -05:00
Hakim El Hattab 999ac52256 print port when multiplex server starts (#98) 2013-03-08 19:22:17 -05:00
Hakim El Hattab 825fe51de9 add Reveal.getConfig(), replace use of window.globals (#98) 2013-03-08 19:05:58 -05:00
Hakim El Hattab 2bd5e8b65b merge in multiplex (#98) 2013-03-08 18:49:28 -05:00
David Banham 580a72c444 Bring multiplex up to date 2013-03-08 12:43:18 +11:00
David Banham 61c229a4f9 Merge branch 'master' of https://github.com/hakimel/reveal.js
Conflicts:
	README.md
	index.html
	js/reveal.js
	package.json
	plugin/speakernotes/client.js
2013-03-08 10:29:54 +11:00
Jon Snyder 329ae0fd43 include search button icon
embed a generic search button icon.
2013-03-04 16:42:23 -08:00
Hakim El Hattab 03237ac9af Merge branch 'searchplugin' of https://github.com/razor-1/reveal.js into dev 2013-03-04 17:58:07 -05:00
ynonp 34afc564cd Update markdown.js
Allow HTML tags in external markdown files
2013-03-01 18:47:26 +02:00
Hakim El Hattab d7b92c9c65 update main window when current slide changes in notes (closes #343) 2013-02-27 16:55:42 -05:00
Hakim El Hattab 68fa39f083 Merge branch 'patch-1' of https://github.com/asmod3us/reveal.js into dev 2013-02-27 15:40:53 -05:00
Hakim El Hattab f9f17be014 merge external markdown support, move example to plugin (#329) 2013-02-27 15:01:30 -05:00
Hakim El Hattab 3321e8b600 Merge branch 'slidifyMarkdown' of https://github.com/webpro/reveal.js into dev 2013-02-27 14:20:26 -05:00
asmod3us f095af212e Update plugin/markdown/markdown.js
Use textContent instead of innerHTML to prevent encoding of certain characters in Markdown code blocks.
2013-02-26 16:06:18 +01:00
Jon Snyder 8d61a112ff search plugin 2013-02-11 15:34:31 -08:00
hakimel 380264afc8 merge in notes improvement 2013-02-06 19:15:30 -05:00
Damjan Georgievski fd7d09f697 find correct path to open html file from the notes.js path 2013-02-06 12:27:49 +01:00
Hakim El Hattab 080fb3cd33 disable zoom plugin while in overview mode 2013-02-03 13:21:42 -05:00
Lars Kappert 7207122c75 Slightly refactored "slidify" flow 2013-01-30 00:09:02 +01:00
Lars Kappert 25f3884bf4 Support for external markdown files, including configurable (vertical) slide separator 2013-01-29 23:49:17 +01:00
Hakim El Hattab 784fa9d2e3 merge in timer in notes window, timer now stays hidden until initial time is set 2013-01-26 13:32:07 -05:00
Charlie DeTar ab3f4e5ba3 Add clock and elapsed time to notes view 2013-01-26 11:49:19 -05:00
hakimel 3f140ef50e Merge branch 'feature/highlightjs-clojure' of https://github.com/eightysteele/reveal.js 2013-01-23 15:27:55 -05:00
hakimel a7625a71d3 show error when notes run on non-http, fix load order to make sure upcoming slide is correct when notes open (#278) 2013-01-23 11:04:10 -05:00
Aaron Steele 1aa66aa469 Add Clojure to highlight.js, add code highlight example to README. 2013-01-21 17:53:39 -08:00
hakimel 0d66c91e8e remove debug code 2013-01-21 13:06:22 -05:00
hakimel 63a53e9dd1 notes window now displays correct slides when origin is different than index.html (closes #278) 2013-01-21 13:05:09 -05:00
Hakim El Hattab 05b5255d60 attribution for print-pdf phantom script (closes #276) 2013-01-10 09:40:03 -05:00
Hakim El Hattab 17622052a0 merge in phantomjs script for printing pdf (#276) 2013-01-10 09:38:31 -05:00
callmephilip b9483f29e1 disable remotes plugin on mobile 2013-01-04 17:12:20 -08:00
Hakim El Hattab 332ce86c3a null check for notes in markdown parser (#253) 2012-11-16 09:29:32 -05:00
Hakim El Hattab 4009f2601e avoid stripping out notes when parsing markdown (closes #253) 2012-11-16 09:25:26 -05:00
Hakim El Hattab 3b073eee65 fix incorrect navigation in notes window (closes #241) 2012-11-16 09:08:32 -05:00
Hakim El Hattab 4fbec5e87d add touch based remote controlled plugin 2012-11-11 19:39:05 -05:00
Hakim El Hattab 87591d95d1 cosmetical tweaks to postmessage plugin 2012-11-10 17:15:11 -05:00
Maurizio Lupo a7c3543069 added a simple postmessage plugin 2012-10-31 15:36:26 +01:00
Hakim El Hattab e87d689231 content now re-renders after alt+click zoom (closes #195) 2012-10-28 23:55:19 -04:00
Hakim El Hattab 6a691a0999 remove console.log 2012-10-28 18:57:27 -04:00
Hakim El Hattab 605f7140e3 updated markdown references in notes plugin 2012-10-28 18:49:01 -04:00
Hakim El Hattab e693717f2a update syntax highlight after editing (#210), move markdown and highlight scripts from lib to plugin 2012-10-28 18:09:54 -04:00
Hakim El Hattab 6794f543e0 merge in support for stepped fragments in notes server 2012-10-25 09:42:33 -04:00
Hakim El Hattab 5d1bac5790 merge in support for stepped fragments in notes window 2012-10-25 09:36:25 -04:00
Michael Kühnel 5af915adaf Merge branch 'refs/heads/fix-fragments-in-speakernotes' into fragments-in-notes-server
Conflicts:
	js/reveal.min.js

Need to generate a new minified version afterwards.
2012-10-24 17:48:50 +02:00
Michael Kühnel 1801bf67ea Delete functionality to control presentation from notes window
Its was impossible (at least for me) to keep the windows in sync without bloating the code too much.
2012-10-24 15:06:32 +02:00
Michael Kühnel 13e7550afe Delete console output. 2012-10-24 14:53:50 +02:00
Michael Kühnel 296242f8d3 Make the fragments visible in speaker notes 2012-10-24 14:33:16 +02:00
Hakim El Hattab 8bdeb360ce clean up trailing whitespace (closes #197) 2012-10-20 21:05:14 -04:00
Hakim El Hattab c6f8a44edf new postMessage-based notes plugin, moved node-based notes to notes-server (#190) 2012-10-20 20:40:52 -04:00
Michael Kühnel ff8ccbb02e Update renamed API method
See b957d0b858
2012-10-19 00:35:23 +02:00
Michael Kühnel c39f5fc0b0 Oops. Delete console output. 2012-10-19 00:14:46 +02:00
Michael Kühnel 82bd8e4fb0 Renaming key within fragmentData
Might be better to use one variable with different values.
2012-10-19 00:12:53 +02:00
Michael Kühnel d02e64adbd get 'fragmentdata' and react by showing/hiding the corresponding fragments 2012-10-19 00:07:26 +02:00
Michael Kühnel c46486b3df Add event listener 'fragmentshown' and 'fragmenthidden'
And emit 'fragmentchanged' with the appropriate fragmentData to show or hide fragments.
2012-10-19 00:04:40 +02:00
Michael Kühnel 46e270e59f Broadcast fragmentdata 2012-10-18 23:59:43 +02:00
Michael Kühnel 409c0dfbcc Add missing semicolon 2012-10-18 23:56:51 +02:00
Michael Kühnel cbdbfc07f4 Fix indentation 2012-10-18 23:55:06 +02:00
Eric J. Duran 070a1e3ee5 Replacing speakernotes plugin with a simple postMessage system 2012-10-17 17:46:43 -04:00
Eric J. Duran f70dcd3c9f Adding images directory to staticDir so we can search images 2012-10-16 17:48:34 -04:00
Hakim El Hattab 470cabaea8 new shorter api method names (closes #178), restructured and cleaned up core js 2012-10-14 21:02:32 -04:00
hakimel 16b71d7a21 slight tweak to zoom integration 2012-10-09 09:22:16 -04:00
Hakim El Hattab 112227b79c slightly larger preview of next slide in speaker notes (closes #147) 2012-09-28 00:23:34 -04:00
Hakim El Hattab 7075bc2b6e merge markdown in notes 2012-09-21 09:08:24 -04:00
Hakim El Hattab c5fe9bd3c4 Merge branch 'markdown-in-notes' of https://github.com/technicalpickles/reveal.js 2012-09-21 09:01:08 -04:00
Hakim El Hattab edfcfb1d3f open slide notes window automatically #135 2012-09-09 22:17:45 -04:00
Josh Nichols a8a3765bec Support markdown in speaker notes
It's pretty nice to have markdown in slides. It's even nicer to have
markdown in speaker notes too :)
2012-09-08 22:07:14 -04:00
Josh Nichols 77d338f93a Open notes in new window, instead of printing to console
It can be tedious to load up the speaker notes, with the whole having to
open the javascript console, and clicking on the link.

This simplifies it by automatically opening the notes in a new window.
Most browsers will warn that it's trying to open a pop-up, but it's easy
enough to allow it.
2012-09-08 21:53:43 -04:00
David Banham 7bae522488 Not got github 2012-08-15 18:57:48 +10:00
David Banham 7cf17ac063 Removed unused code 2012-08-06 14:40:32 +10:00
David Banham a2e021ccdb Don't suppress the whole event, just add context metadata 2012-08-06 11:20:08 +10:00
David Banham 976536d15e Added multiplexing server 2012-08-05 23:48:55 +10:00