Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-reveal

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-reveal - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

slide/templates/slide-withnotes.html

2

package.json
{
"name": "generator-reveal",
"version": "0.0.10",
"version": "0.0.11",
"description": "A Reveal.js generator for Yeoman",

@@ -5,0 +5,0 @@ "keywords": [

@@ -114,3 +114,28 @@ # Generator-reveal

##### Speaker Notes
Invoked with `--notes`
```bash
yo reveal:slide "Slide Title" --notes
```
Produces `slides/slide-title.html`:
```html
<section>
<h2>Slide Title</h2>
<p>This is a new slide</p>
<aside class="notes">
Put your speaker notes here.
You can see them pressing 's'.
</aside>
</section>
```
For markdown, just add `--markdown`.
## License
[MIT License](http://en.wikipedia.org/wiki/MIT_License)

@@ -32,5 +32,13 @@ 'use strict';

if (this.useMarkdown) {
this.template('slide.md', fullfilename);
if (this.options.notes) {
this.template('slide-withnotes.md', fullfilename);
} else {
this.template('slide.md', fullfilename);
}
} else {
this.template('slide.html', fullfilename);
if (this.options.notes) {
this.template('slide-withnotes.html', fullfilename);
} else {
this.template('slide.html', fullfilename);
}
}

@@ -37,0 +45,0 @@ var fullPath = path.join(appPath, '/slides/list.json');

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc