Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
generator-reveal
Advanced tools
A Yeoman generator for the awesome Reveal.js presentation framework.
Install: npm install -g generator-reveal
Make a new directory, and cd
into it:
mkdir my-new-project && cd $_
Run yo reveal
and start building your presentation.
After all files are created you can view your slides with grunt
:
grunt server
Then, create further slides with yo reveal:slide more-content
. See below for available options.
Available generators:
Generates a Slide file.
Example:
yo reveal:slide "Slide Title"
Produces slides/slide-title.html
:
<section>
<h2>Slide Title</h2>
<p>This is a new slide</p>
</section>
And the slide filename will be added to your slides/list.json
file.
[
"index.md",
"slide-title.html"
]
In order to add vertical slides, you can nest an array inside slides/list.json
[
"index.md",
[
"vertical-html.html",
"vertical-markdown.md"
],
[
"vertical-html-2.html",
"vertical-markdown-2.md"
],
"the-end.md"
]
Invoked with --markdown
yo reveal:slide "Slide Title" --markdown
Produces slides/slide-title.md
## Slide Title
This is a new slide
Invoked with --markdown --attributes
yo reveal:slide "Slide Title" --markdown --attributes
adds a slide object with an attr
key to your slides/list.json
file. Attributes will be passed to section
element containing the markdown.
[
"index.md",
{
"filename": "slide-title.md",
"attr": {
"data-background": "#ff0000"
}
}
]
<section data-markdown="slides/slide-title.md" data-background="#ff0000"></section>
Invoked with --notes
yo reveal:slide "Slide Title" --notes
Produces slides/slide-title.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
.
v0.2.0
--attributes
option.FAQs
A Reveal.js generator for Yeoman
The npm package generator-reveal receives a total of 50 weekly downloads. As such, generator-reveal popularity was classified as not popular.
We found that generator-reveal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.