
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
markdown2slides
Advanced tools
Markdown is great for content, but it's not ideal for create slide decks. Markdown doesn't provide a way to wrap each slide in a parent element, making it very difficult to style your slides with CSS.
markdown2slides is a node module, intended to be used in a grunt workflow, that lets your write your slideshow content in markdown without compromising stylability.
npm install markdown2slides
Write your slideshow content in a markdown file, using horizontal rules (---) to separate each slide:
slide 1
---
slide 2
---
slide 3
Use markdown2slides to convert your markdown file into an ordered list:
var slides = require('markdown2slides')('path/to/my-preso.md')
The value of slides is now an HTML string that looks like this:
<ol class="slides">
<li>slide 1</li>
<li>slide 2</li>
<li>slide 3</li>
</ol>
npm test
markdown2slides is intended to be used for static HTML site generation. It is blocky/synchronous/non-streamy. In other words, don't use it at runtime in your node apps.
FAQs
Write your slide deck in markdown without compromising stylability.
The npm package markdown2slides receives a total of 5 weekly downloads. As such, markdown2slides popularity was classified as not popular.
We found that markdown2slides 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.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.