hakimel/reveal.js 53174
The HTML Presentation Framework
hakimel/Ladda 7669
Buttons with built-in loading indicators.
hakimel/stroll.js 4280
CSS3 list scroll effects
hakimel/css 3911
Assorted CSS and UI experiments.
hakimel/Meny 2323
A three dimensional and space effecient menu
hakimel/Avgrund 1677
A JS/CSS3 modal UI concept
hakimel/zoom.js 1440
zoom in on any element in the DOM
an animated GitHub ribbon
hakimel/kontext 651
A context-shift transition inspired by iOS
hakimel/Fokus 607
issue closedhakimel/reveal.js
Master:readme-edit/Hellow world
closed time in 12 days
Blackrichard254issue commenthakimel/reveal.js
Replace text on fragment transition
I'm adding a few new layout helper classes to reveal.js 4.1. The 'stack' helper can be used to stack elements on top of each other and can be used to replacing text, or any other type of content. It automatically centers the stacked elements on top of each other. To recreate the above example with a stack, you'd use:
<div class="r-stack">
<p class="fragment fade-in-then-out">One</p>
<p class="fragment fade-in-then-out">Two</p>
<p class="fragment fade-in-then-out">Three</p>
<p class="fragment fade-in-then-out">Four</p>
</div>
You can see some examples with replacing images here: https://lab.hakim.se/reveal-js-dev/examples/layout-helpers.html#/stack
comment created time in 15 days
push eventhakimel/reveal.js
commit sha 942304d8628bcb226a93ac4d931c3db6e2df07bc
add --slide-width/height css variables
commit sha cd5c9c5b9d6480403fb6023b54bd5b18a6009da2
build js
commit sha 61624aeafbac60d4fb2a51368afc9a18d339309b
🤦
commit sha 7ebade724880eb1e2a62677b2b55ce5f78c25cfb
remove 20px vertical padding on slide sections
commit sha c91074761acc91c8d339ac3619f95bcd324bfba4
don't write '#/' to url on first slide, remove history api feature detection
commit sha d272628f5824135a4a571e6c49f5f18e019520cf
add support for data-visibility=hidden
commit sha ac79c7cd8bd937b1a9e70332b54d73df98814194
leave the progress bar empty if there's < 2 slides
commit sha 166af89353cacb7198d23a52b3bda77be6715133
all themes now have contrasting text colors based on slide bg
commit sha 6772518c5aca120f7ff056a61c7809fc13b52c3a
Merge branch 'master' of github.com:hakimel/reveal.js into dev
commit sha 37d8337411c8e2ddf6d04f2e5121295d2dcc4a98
add support for wrapping code in script tempalte to avoid html parser #2684
commit sha 66cbd66fb6ae6a31e1478d47722805f7bedad7ee
fix slide numbering issue with uncounted horizontal slides (fixes #2675)
commit sha 1b6a3b1e6f38a65cc5330b2856275cd8a39ae6d7
add support for auto-sized big text via r-fit-text
commit sha f231c53b9cc9062b51b8a9a3b4a6a9c19cc25b0b
Merge branch 'master' of github.com:hakimel/reveal.js into dev
commit sha aa6677911ca0a417aa445149349f8ffbf2ca5c2e
fit-text helper now triggers lazyily when slide enters view distance
commit sha be460814ac1e214a7205fad4feb861cb0b184557
correct scope for fit-text selector
commit sha cd2a792416c50461fe9b86edfaa26b207be65f4b
allow images inside of h/vstacks to be proportionally downsized
commit sha 2fccb77405a52b29e144f2e33b741f207ebfab47
add 'playsinline' to all inline videos, dont mute background videos on mobile
commit sha 9ff27cfbc9aaf939894b42b73973ea47b38eedec
bg videos remain muted on mobile, otherwise broken when navigating with swipe gestures
commit sha 2bfe705e6ac8307c22d78a80bf237461658866ed
include /css and /js in npm package #2712
commit sha 3a99a7b70aa7e74012c7049655da09959ca8c584
shuffle now applies to vertical slides as well
push time in 16 days
issue closedhakimel/reveal.js
Syntax highlighting adds unwanted HTML code comments
Reveal code with php syntax highlight:

Renders like this:

Generated HTML code:
<pre><code class="php hljs"><!--?php
<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">myFunc</span>(<span class="hljs-params"></span>)</span>{
<span class="hljs-keyword">echo</span> <span class="hljs-string">'test'</span>;
}
$name = <span class="hljs-string">'myFunc'</span>;
$name();</code--></code></pre>
I can't see any errors/warnings during build process.
This bug seems to be similar to #2741 and #2732 - reveal is adding something strange, trying to make code better. Is there a way to disable it?
closed time in 16 days
greg-witczakissue commenthakimel/reveal.js
Syntax highlighting adds unwanted HTML code comments
I've fixed this in the dev branch—if you're using Markdown, please try the latest version from there and let me know if it works.
The issue was that as of 4.0 we started overriding the markdown parser's code renderer (https://github.com/hakimel/reveal.js/blob/dev/plugin/markdown/plugin.js#L429-L450) in order to support line numbers and line highlights. The built-in code renderer automatically escaped HTML entities in code, but our overridden version didn't. I've added HTML escapes to our own code renderer now too so it should continue to work just like it did pre 4.0.
comment created time in 17 days
push eventhakimel/reveal.js
commit sha e09437f4fac47305679374d2b2516a76f6ceb899
escape HTML entities in code parsed from markdown, fixes #2744
push time in 17 days
issue closedhakimel/reveal.js
"<x>" inside code snippet is taken as XML and "</x>" being automatically added
Please see the issue in action in the attached screenshot. The code is of Rust and I explicitly mark it as such. The </byteorder::LE> in the last light is automatically added for me but it shouldn't.

closed time in 17 days
zeenixissue commenthakimel/reveal.js
"<x>" inside code snippet is taken as XML and "</x>" being automatically added
Thanks for reporting, we're tracking this issue in #2744, there's some more info about what's happening in my latest comment
comment created time in 17 days
issue closedhakimel/reveal.js
Syntax highlighting adds unwanted closing html tags and adds empty values in C++ code with templates
My code in C++ is generated with some HTML tags added.
template <typename TypeA, typename TypeB>
TypeA add(TypeA first, TypeB second) {
return first + second;
}
turns into this:

As I understand it is parsed as HTML file. The code is in an external MD file and is put inside triple backticks. Changing < into < fixes this issue, but I need to have the code in a syntactically correct form (it is compiled by other tools).
This issue exist in 4.0.x version, but everything works fine in 3.9.x Does anyone know if there is a fix to this issue?
closed time in 17 days
ziobronissue commenthakimel/reveal.js
Syntax highlighting adds unwanted closing html tags and adds empty values in C++ code with templates
Thanks for reporting, we're tracking this issue in #2744
comment created time in 17 days
issue commenthakimel/reveal.js
Syntax highlighting adds unwanted HTML code comments
The extra characters are being inserted by the web browser because the unescaped < character in <?php hits the HTML parser, which then tries "fix" the invalid HTML. You can test this by pasting your code sample into an empty .html file and opening it the web browser, the developer tools will show a parsed HTML tree like:

The easiest fix is to swap < out for its HTML entity <. Alternatively, you can wrap the whole code sample in a <script type="text/template"> tag to tell the HTML parser to ignore it:
<pre><code class="php"><script type="text/template">
<?php
function myFunc(){
echo 'test';
}
$name = 'myFunc';
$name();
</script></code></pre>
Multiple people have reported that this worked in prior releases. While the issues has always been there for code added via HTML, I think the change in 4.0 is that it somehow started affecting external Markdown as well. I'm leaving this issue open until that par has been debugged further, if anyone has any ideas as to what change caused this I'm all ears.
comment created time in 17 days
push eventhakimel/reveal.js
commit sha 676936e33d194c5ec99e7d61b075753b3f4f05fc
revert debug change to index.html
push time in 17 days
push eventhakimel/reveal.js
commit sha b05e530f2153666a3009bd3f2db1761abe2909fd
Fix URL to pdf-export documentation
commit sha a150d0c5dd80b4a07344cd73f608a2aaaf2900de
Start relative paths in CSS with ./
commit sha aa62bd424befdcffb2fc7e7b1b08e25e8d53f1e7
Update README.md Fixed broken URL
commit sha 2c121d22ac1439057059c4036c9d9af1ecdc5b5d
docs: Fix simple typo, transiition -> transition There is a small typo in js/controllers/autoanimate.js. Should read `transition` rather than `transiition`.
commit sha 5676ef79d70cb2bdd598c71e5f23be5cd9060628
Merge pull request #2771 from timgates42/bugfix_typo_transition docs: Fix simple typo, transiition -> transition
commit sha b13c7b41a0e13036db88bbcd8466e030348a3151
Merge pull request #2767 from rschmehl/patch-1 Update README.md
commit sha 5f7c945deeccd7ba2aeb01be94b3bdd841ce5526
Merge pull request #2752 from michaelmior/css-paths Start relative paths in CSS with ./
commit sha 17bfa625798687394497f908b399eacd2895222e
Merge pull request #2746 from ebriand/patch-1 Fix URL to pdf-export documentation
commit sha 4d62dcc674290ccf3e842cd4516e06d7496d1e2d
Merge branch 'master' of github.com:hakimel/reveal.js into dev
push time in 17 days
pull request commenthakimel/reveal.js
Fix URL to pdf-export documentation
🙌
comment created time in 17 days
push eventhakimel/reveal.js
commit sha b05e530f2153666a3009bd3f2db1761abe2909fd
Fix URL to pdf-export documentation
commit sha 17bfa625798687394497f908b399eacd2895222e
Merge pull request #2746 from ebriand/patch-1 Fix URL to pdf-export documentation
push time in 17 days
PR merged hakimel/reveal.js
Hey 👋
The URL to the pdf-export documentation in the pdf.scss file was incorrect, this small PR fixes it 😄
pr closed time in 17 days
pull request commenthakimel/reveal.js
Start relative paths in CSS with ./
Thanks!
comment created time in 17 days
push eventhakimel/reveal.js
commit sha a150d0c5dd80b4a07344cd73f608a2aaaf2900de
Start relative paths in CSS with ./
commit sha 5f7c945deeccd7ba2aeb01be94b3bdd841ce5526
Merge pull request #2752 from michaelmior/css-paths Start relative paths in CSS with ./
push time in 17 days
PR merged hakimel/reveal.js
The bundler I'm using happens to not work well with relative paths that don't start with ./.
Since this will not break anything existing, I've added this prefix in the themes and font CSS files.
pr closed time in 17 days
PR closed hakimel/reveal.js
This pull request adds a badge to the . This will allow users to easily run this repository in their browser, without having to set up an environment. You can learn more about Repl.it here.
pr closed time in 17 days
pull request commenthakimel/reveal.js
Add run on repl.it badge to README
No thanks
comment created time in 17 days
push eventhakimel/reveal.js
commit sha aa62bd424befdcffb2fc7e7b1b08e25e8d53f1e7
Update README.md Fixed broken URL
commit sha b13c7b41a0e13036db88bbcd8466e030348a3151
Merge pull request #2767 from rschmehl/patch-1 Update README.md
push time in 17 days
push eventhakimel/reveal.js
commit sha 2c121d22ac1439057059c4036c9d9af1ecdc5b5d
docs: Fix simple typo, transiition -> transition There is a small typo in js/controllers/autoanimate.js. Should read `transition` rather than `transiition`.
commit sha 5676ef79d70cb2bdd598c71e5f23be5cd9060628
Merge pull request #2771 from timgates42/bugfix_typo_transition docs: Fix simple typo, transiition -> transition
push time in 17 days
PR merged hakimel/reveal.js
There is a small typo in js/controllers/autoanimate.js.
Should read transition rather than transiition.
pr closed time in 17 days
PR closed hakimel/reveal.js
dev
pr closed time in 17 days
startedmathiasbynens/small
started time in 25 days
push eventreveal/revealjs.com
commit sha 36170faf4bda039c5fa1aeafd4e9372d76833afe
Fix typo in pdf export
commit sha a960dd6ef5b97bc444be3cb1a084f13131914ced
Merge pull request #10 from gillescastel/patch-1 Fix typo in pdf export
push time in a month
issue closedreveal/multiplex
WebSocket connection failed: Unknown reason
When I try to test this plugin using the demo WebSocket server at https://reveal-js-multiplex-ccjbegmaii.now.sh/token, I get a WebSocket connection to 'wss://reveal-js-multiplex-ccjbegmaii.now.sh/socket.io/?EIO=3&transport=websocket&sid=zaN_EvhrIjihGrDOCfvj' failed: Unknown reason error:

I've downloaded multiplex locally and am using it like such:
<script src="//cdnjs.cloudflare.com/ajax/libs/socket.io/2.2.0/socket.io.js"></script>
<script src="assets/reveal.js-4.0.2/dist/reveal.js"></script>
<script>
Reveal.initialize({
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ],
multiplex: {
secret: '15922463425415769872',
id: 'aba4830d9748420c', // Obtained from socket.io server
url: 'https://reveal-js-multiplex-ccjbegmaii.now.sh' // Location of socket.io server
}
});
</script>
<script src="assets/multiplex/master.js"></script>
</body>
</html>
I got the secret and id values from https://reveal-js-multiplex-ccjbegmaii.now.sh/token#
I have no experience with WebSockets (or Zeit, and very little with Javascript, for that matter). Any tips on debugging this would be greatly apprecaited.
closed time in a month
tammersalehissue commentreveal/multiplex
WebSocket connection failed: Unknown reason
We've deployed a new demo server, see https://github.com/reveal/multiplex/issues/2#issuecomment-683667435
comment created time in a month
issue closedreveal/multiplex
Hey
The demo site is down for good. You need to move the code. Would love to have it fixed so I can get my token/id.
closed time in a month
DatStormissue commentreveal/multiplex
I've put a new demo multiplex server on glitch and updated the readme. If you switch from https://reveal-js-multiplex-ccjbegmaii.now.sh/ to https://reveal-multiplex.glitch.me/ it should work.
I'm not sure what the hosting limits are on glitch but will keep an eye on it in case we need to move elsewhere.
comment created time in a month
push eventreveal/multiplex
commit sha 3381ddd382442e88672c832097e2dbe92ff3194d
new multiplex server #2
push time in a month
pull request commentreveal/revealjs.com
Changed 'find our' to 'find out'
🙌
comment created time in a month
push eventreveal/revealjs.com
commit sha f8957627df6068ee8b2c286df7d381b9c9fde754
Changed 'find our' to 'find out'
commit sha c372d6474142e681be1b0e6dccc5f9c1219981e8
Merge pull request #9 from TaoHuaLiu/master Changed 'find our' to 'find out'
push time in a month
PR merged reveal/revealjs.com
There was a typo in math.md.
pr closed time in a month
issue closedhakimel/reveal.js
High vulnerability advisory on rollup-plugin-terser (remote code execution)
Hi, love this project.
Seems like there's a recent vulnerability advisory regarding rollup-plugin-terser:
| High | Remote Code Execution |
|---|---|
| Package | serialize-javascript |
| Dependency of | rollup-plugin-terser [dev] |
| Path | serialize-javascript |
| More info | https://npmjs.com/advisories/1548 |
the recommendation is to npm install --save-dev [email protected]
since the current version is 5.3.0, do you know if it's a breaking change? I manually updated it to 7.0.0 in package.json on a test project and everything seems fine after a quick test.
closed time in a month
tingeberissue commenthakimel/reveal.js
High vulnerability advisory on rollup-plugin-terser (remote code execution)
Thanks for reporting—I've upgraded rollup-plugin-terser and a few other dependencies as well. That change isn't available on npm yet but will be with the next release.
comment created time in a month
push eventhakimel/reveal.js
commit sha faa8b56e2ae430b0ab4fd71610155e5316b06149
dependency upgrades
push time in a month
push eventhakimel/reveal.js
commit sha 80d96b4f824efef1ca10db74e6ba74eee13e36c7
upgrade rollup-plugin-terser to fix npm warning #2751
push time in a month
issue closedhakimel/reveal.js
Configuration setting to "unnest" presentation for linear navigation.
The reveal.js presentation framework is really slick, and I'm constantly learning new things I can do with it. Thanks for putting it together.
I've arranged my presentation into nested <section>, which makes it convenient to navigate down certain "paths" or skip directly to the next section.
But in some circumstances I would like to force the slides to navigate in a linear fashion, as if I were pressing the spacebar, even if I press the right-arrow key. (This is most useful if I want to make a set of slides public; some users may not be aware of the two-dimensional navigation capabilities of reveal.js, and may miss some of the slides if they navigate using the right arrow button.)
Is there a configuration setting (I looked but didn't see one) that would disable the two-dimensional navigation, and only allow navigation forwards and backwards as if there were no nested segments? (In streaming terms, this would work as if all the nested slides had been flat-mapped into a single list.) I'd prefer not to modify my HTML structure; I'd like to simply enable/disable two-dimensional navigation by a single configuration flag.
If such a feature doesn't exist, please consider this a feature request. Thank you!
closed time in a month
garretwilsonissue commenthakimel/reveal.js
Configuration setting to "unnest" presentation for linear navigation.
Closing—this feature has been added via the navigationMode: "linear" setting.
comment created time in a month
push eventhakimel/reveal.js
commit sha 3a99a7b70aa7e74012c7049655da09959ca8c584
shuffle now applies to vertical slides as well
push time in a month
pull request commenthakimel/reveal.js
@rodrigoalcarazdelaosa nope, though the plan is to include it in 4.1.
I received some feedback about possible negative side-effects of switching away from MathJax so I'm still thinking about how to best make this transition. It's hard to tell exactly what the tradeoffs are when I don't use any math typesetting myself. I'll dig back into this soon once I resume work on 4.1 after vacation.
comment created time in 2 months
issue closedhakimel/reveal.js
The new build is screwed up based on dist but what if we update dist? Then build is broken
Hi,
The new build script (and markup) mostly depends on things residing in the dist folder. However, some of us us gh-pages or something similar in which we remove the old dist folder and recreate a new one whenever we have made changes to our slide deck. This then, breaks the build. There are so many other issues now as a result of the changes to reveal.js 4.0.2 that I don't even find it workable for me at this time. And I was one of the biggest proponents of reveal.js. Now, for it to work with a new slide deck, I will have to copy an existing reveal.js slide deck and change the index.html. Looking forward to when things start working properly with 4.0.2. Thanks.
closed time in 2 months
interglobalmediaissue commenthakimel/reveal.js
The new build is screwed up based on dist but what if we update dist? Then build is broken
Hey. The gulp serve task only recompiles the assets it needs to based on what source files that changed. If you remove the entire /dist folder and want to recreate all of the built assets, you can run gulp. That will rebuild the /dist dir from scratch.
I'm not sure why the /dist folder would need to be removed but hopefully that helps.
comment created time in 2 months
pull request commentcdnjs/packages
Update reveal.js w/ git auto-update
Thanks @MattIPv4. This should be all set now unless you have any other comments.
comment created time in 2 months
push eventhakimel/packages
commit sha 8522345e5f85131e7afe3b3bd1902cb60464f563
use https protocol for autoupdate target
push time in 2 months
push eventhakimel/packages
commit sha bd5cdb1dbdd912dd1e097204a80d74fe03c61655
move files in /dist up one level
push time in 2 months
issue commenthakimel/reveal.js
reveal.js is being initialized twice on that page and I'd assume that's what's causing your issue. You'll need to remove the second Reveal.initialize and include the RevealMenu plugin in the first initialize call instead.
comment created time in 2 months
issue closedhakimel/reveal.js
Help! I just upgraded to 4.0.2 and when I refresh a page the screen is blanked. I do this often as I edit slides in markdown, regenerate with pandoc, and then refresh the browser.
If I go back a slide and forward again, then the content is there again. Also, if I open a new tab and go directly to a slide there's a blank screen.
This is the case with Chrome (84.0.4147.89) and Firefox (78.0.2).
closed time in 2 months
reaglepull request commentcdnjs/packages
Update reveal.js w/ git auto-update
Thanks for reviewing. Moving the files in dist up to the root makes sense to me. Is this the right way to configure it?
"fileMap": [
{
"basePath": "dist",
"files": [
"**/*.@(js|css|eot|ttf|woff)",
"../plugin/**/*.@(js|css)"
]
}
]
comment created time in 2 months
push eventhakimel/packages
commit sha 11dc823975a62ac9d130beb23f9f1f46aa532de1
Apply suggestions from code review only include required file types Co-authored-by: Matt (IPv4) Cowley <[email protected]>
push time in 2 months
issue commenthakimel/reveal.js
Cloudflare's CDN appears to be missing the CSS files for RevealJS since version 4.0
Opened PR @ https://github.com/cdnjs/packages/pull/335
comment created time in 3 months
PR opened cdnjs/packages
We relocated most of our distributed assets in reveal.js 4.0. This PR updates the filemap to fix that.
pr created time in 3 months
push eventhakimel/packages
commit sha ddc69a20b0315e4a8dac1763fad25e33b6de1f0d
update reveal.js filemap to match v4.x
push time in 3 months
push eventhakimel/packages
commit sha 620afe3555663b6e36690089482217bb05d77ee8
update reveal.js filemap to match v4.x
push time in 3 months
fork hakimel/packages
📦 Package configurations - The #1 free and open source CDN built to make life easier for developers.
fork in 3 months
issue commenthakimel/reveal.js
Cloudflare's CDN appears to be missing the CSS files for RevealJS since version 4.0
That explains it, thanks @bnjmnt4n! I’ll submit a PR to update the directory list and project info ahead of the next version.
comment created time in 3 months
issue commenthakimel/reveal.js
Cloudflare's CDN appears to be missing the CSS files for RevealJS since version 4.0
Not sure what’s happened to that cdnjs distribution. Looks like the /dist directory is missing?
The distribution on unpkg has all of the correct files. It doesn’t lack the minified files, /dist/reveal.js and /dist/reveal.css are both minified.
comment created time in 3 months
pull request commentreveal/revealjs.com
missing () on initialize method.
Good catch, thanks!
comment created time in 3 months
push eventreveal/revealjs.com
commit sha 72cb95f0bd4d3f105c88237ca796f491f636d622
missing () on initialize method. I think this one is pretty self-explanatory. The given example will not work because it is not calling the actual ```initialize``` method.
commit sha 30ac8c00b05880da0d9b2c8b8e4fce4ea8a45c34
Merge pull request #4 from joordas/patch-1 missing () on initialize method.
push time in 3 months
PR merged reveal/revealjs.com
I think this one is pretty self-explanatory. The given example will not work because it is not calling the actual initialize method.
pr closed time in 3 months
issue closedhakimel/reveal.js
Do not exclude css folder from npm release
Hi Hakim,
We are using Reveal to create our own theme. Unfortunately, there is no way to get theme.scss through npm since it is in the files ignored by .npmignore. Is there any chance to get this file by using npm (we do not want to use other mechanisms since this is part of an automated build through Jenkins). Could you include it into the delivered resources again?
Best wishes, Thomas
closed time in 3 months
theone1984issue commenthakimel/reveal.js
Do not exclude css folder from npm release
Thanks for the feedback. I've added those files back in so they'll be included when we release 4.1.
comment created time in 3 months
push eventhakimel/reveal.js
commit sha 2bfe705e6ac8307c22d78a80bf237461658866ed
include /css and /js in npm package #2712
push time in 3 months
issue closedhakimel/reveal.js
Hello, I'm having a problem when I dynamically added a slide and remove it after navigating to the slide next to it. I have this presentation structure example:
<section>
<div>Slide 1</div>
</section>
<section id="insertedSection">
<div>Slide 2</div>
</section>
<section>
<div>Slide 3</div>
</section>
<section>
<div>Slide 4</div>
</section>
<section>
<div>Slide 5</div>
</section>
When navigating to the next slide after the insertedSection the section with id insertedSection has been removed, but when navigating to the previous slide, the navigation is somewhat broken and needs you to press the left arrow twice to reach Slide 1. It also skips Slide 4 and goes directly to Slide 5 when you navigate next. Any ideas why this is happening? I've also tried calling Reveal.slide() but the problem still persist.
closed time in 3 months
clintcfavorissue commenthakimel/reveal.js
You need to call Reveal.sync() after adding or removing a slide.
comment created time in 3 months