
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Bridgetown is a ruby powered static site generation. Reveal.js is an open source HTML presentation framework.
This plugin wires the two together so that you can use bridgetown to host a reveal.js presentation as a section of your site.
The preferred method to install this plugin is to run the automation. There are files to add / update to your site that uses this plugin and it is most easily done through the automation.
bin/bridgetown apply https://github.com/copiousfreetime/bridgetown_reveal
Run this command to add this plugin to your site's Gemfile.
bundle add bridgetown_reveal
And then run the automation locally:
./bin/bridgetown apply $(bundle show bridgetown_reveal)/bridgetown.automation.rb
If you prefer NOT to run the automation, then look at the the automation file and apply the updates manually:
https://github.com/copiousfreetime/bridgetown_reveal/blob/main/bridgetown.automation.rb
The steps are:
config/initializers.rb
init :bridgetown_reveal
reveal.js
to your yarn package: yarn add reveal.js
bridgetown.config.yml
to add the slides
collection.The plugin will add a new layout type of bridgetown_reveal/deck
and an
associated component of ::BridgetownReveal::Deck
.
Integrating a reveal.js presentation into your site involves 3 items:
bridgetown.config.yml
.For example, if to make a new presentation at output location /slidey
you
would do the following:
Add the slidey
collection to the bridgetown.config.yml
file:
collections:
slidey:
sort_by: order
name: Slidey
Create the page for the presentation at src/slidey.erb
---
layout: bridgetown_reveal/deck
---
<%= render ::BridgetownReveal::Deck.new(site: site, collection: 'slidey') %>
Put all the slidey content pages themselves in src/_slidey/
. The pages will all be
combinded together and sorted based upon the order
value in the frontmatter.
src/_slidey/intro.html
---
order: 1
---
<section>
<h1>The first slide of the Intro</h1>
</section>
<section>
<h1>The 2nd slide of the Intro</h1>
</section>
src/_slidey/outro.html
---
order: 100
---
<section>
<h1>The penultimate slide of the talk.</h1>
</section>
<section>
<h1>Thank you, and goodnight</h1>
</section>
All of the content is reveal.js <section>
content. The
top level wrapper for reveal.js is inside the bridgetown_reveal/deck
layout.
bundle exec rake test
to run the test suitescript/cibuild
to validate with Rubocop and Minitest together.FAQs
Unknown package
We found that bridgetown_reveal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.