GithubHelp home page GithubHelp logo

bbc / reveal.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hakimel/reveal.js

3.0 18.0 0.0 21.34 MB

The HTML Presentation Framework

Home Page: http://lab.hakim.se/reveal-js/

License: MIT License

JavaScript 58.91% CSS 0.63% HTML 24.99% SCSS 15.46%

reveal.js's Introduction

reveal.js

Slides

reveal.js is an open source HTML presentation framework. It enables anyone with a web browser to create beautiful presentations for free. Check out the live demo at revealjs.com.

The framework comes with a powerful feature set including nested slides, Markdown support, Auto-Animate, PDF export, speaker notes, LaTeX typesetting, syntax highlighted code and an extensive API.

BBC Fork

This is the BBC fork of reveal.js and includes BBC styling including the Reith fonts and BBC blocks. To be used for BBC presentations only.

Using BBC styling

Include this:

		<link rel="stylesheet" href="dist/theme/bbc.css">

Using accessibility helper

Include CSS file in the <head> of index.html:

<link rel="stylesheet" href="plugin/accessibility/helper.css">
  1. Include JavaScript file as dependency in index.html:
<script>
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
  dependencies: [
                  { src: 'plugin/accessibility/helper.js', async: true, condition: function() { 
                    return !!document.body.classList; 
                  } 
              }]
});
</script>

Features

Hidden offscreen slides

This plugin adds CSS to "really hide" offscreen slides using display: none; on an element wrapping each slide. This technique was used to avoid issues with transitions and display: none. For this to work, the styles must be loaded in HTML as a <link> tag (as opposed to injecting dynamically with JavaScript).

Dynamically labeled slide sections

HTML <section> elements commonly used for slides will act as landmarks in screen readers. To make them easier to identify, this plugin dynamically adds an aria-label property with a value of "Slide 1", as an example. For nested slides, it will add "Slide 1, child 1" with numbers relative to that slide.

Purpose: uniquely labeled sections are more useful in assistive technology than <section> soup.

Before (your code):

<section>Reveal.js</section>
<section>
	<section>It might be dated</section>
	<section>But it's still useful</section>
</section>

After (dynamically rendered code):

<section aria-label="Slide 1">Reveal.js</section>
<section aria-label="Slide 2">
	<section aria-label="Slide 2, child 1">It might be dated</section>
	<section aria-label="Slide 2, child 2">But it's still useful</section>
</section>

Reveal.js

Want to create reveal.js presentation in a graphical editor? Try https://slides.com. It's made by the same people behind reveal.js.

Upgrading from previous versions

Note that there are breaking changes relative to previous versions. See the Upgrade instructions for more details.

Sponsors

Hakim's open source work is supported by GitHub sponsors. Special thanks to:


Getting started


MIT licensed | Copyright ยฉ 2011-2023 Hakim El Hattab, https://hakim.se BBC specific material is Copyright (C) 2020 BBC

reveal.js's People

Contributors

hakimel avatar nigelmegitt avatar vonc avatar mischah avatar bnjmnt4n avatar lordsutch avatar davidbanham avatar aspiers avatar owenversteeg avatar rmurphey avatar dandv avatar denehyg avatar hermansje avatar alexbatista avatar djsutherland avatar asmod3us avatar quilicicf avatar farosas avatar burnpanck avatar sestegra avatar lechten avatar gturri avatar rajgoel avatar fghaas avatar xiaomipatchrom avatar tkaczmarzyk avatar earboxer avatar nicojs avatar nschonni avatar webpro avatar

Stargazers

Ojimaojo Udale-Ameh avatar  avatar

Watchers

Tom Cartwright avatar Andy Robinson avatar James Cloos avatar Paul Caporn avatar Miles Bernie avatar Steve Wheeler avatar Nathan Messer avatar Alex Duff avatar Alfonso Afonso avatar Joe Sparrow avatar Mark Kay avatar EmmaJP avatar Simon Pitt avatar Hannah avatar  avatar David Brown avatar Simon Allcorn avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.