Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
gatsby-remark-github-snack
Advanced tools
Compatible with Gatsby `v5.x.x`. It's not tested with previous versions
Compatible with Gatsby v5.x.x
. It's not tested with previous versions
$ npm install gatsby-remark-github-snack
It automatically converts remote videos hosted on GitHub from your markdown files, or other type of remote URLs pointing to videos ending on mp4
or mov
, into HTML videos
For instance:
https://user-images.githubusercontent.com/example_video.mov
// Gets transformed into ↓
<video width="400" controls style="margin-bottom: 16px">
<source src="https://user-images.githubusercontent.com/example_video.mov" type="video/mp4">
</video>
https://snack.expo.dev/@rgommezz/layoutanimation => Any apperance of a link like this in your markdown gets replaced with the playground shown in the screenshot below
In your gatsby-config
file:
const config = {
plugins: [
{
resolve: `gatsby-plugin-mdx`,
options: {
gatsbyRemarkPlugins: [
"gatsby-remark-github-snack",
// Other remark plugins here
],
},
},
// Other Gatsby plugins here
],
};
const config = {
plugins: [
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
"gatsby-remark-github-snack",
// Other remark plugins here
],
},
},
// Other Gatsby plugins here
],
};
FAQs
Compatible with Gatsby `v5.x.x`. It's not tested with previous versions
The npm package gatsby-remark-github-snack receives a total of 0 weekly downloads. As such, gatsby-remark-github-snack popularity was classified as not popular.
We found that gatsby-remark-github-snack demonstrated a healthy version release cadence and project activity because the last version was released less than 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.