Socket
Socket
Sign inDemoInstall

reveal

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    reveal

The HTML presentation framework


Version published
Weekly downloads
110
decreased by-16.67%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

reveal

The HTML presentation framework

NPM version

Installation

npm install reveal

Usage

index.jade (to be compiled using jade)

doctype html
html(lang="en")
  head
    meta(charset="utf-8")
    title reveal.js - The HTML Presentation Framework

    meta(name="description" content="A framework for easily creating presentations")
    meta(name="author" content="Hakim El Hattab")

    meta(name="apple-mobile-web-app-capable" content="yes")
    meta(name="apple-mobile-web-app-status-bar-style" content="black-translucent")

    meta(name="viewport" content="width=device-width,"
                                +"initial-scale=1.0,"
                                +"maximum-scale=1.0,"
                                +"user-scalable=no")

    link(rel="stylesheet" href="index.css")

  body
    .reveal
      // Any section element inside of this container is displayed as a slide
      .slides
        section
          h1 Reveal.js
        section
            h1 THE END
            h2 BY Hakim El Hattab / hakim.se
    script(src="/index.js")

index.js (to be compiled using browserify)

var Reveal = require('./reveal.js');
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
  controls: true,
  progress: true,
  history: true,
  center: true,
  // default/cube/page/concave/zoom/linear/fade/none
  transition: 'none',
});

index.less (to be compiled using less-fixed)

@import (npm) "reveal";
@import (npm) "reveal/theme/default";
/* Custom styles here */

License

MIT

FAQs

Last updated on 20 Feb 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc