
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.
gatsby-remark-images-grid
Advanced tools
gatsby-remark-images-grid
create a <figure>
tag for you containing:
<figcaption>
tag, optionallyYou can, of course, choose the maximum columns number. Layout will be responsive and display less columns with small screens.
You can download gatsby-remark-images-grid
from the NPM registry via the
npm
or yarn
commands
yarn add gatsby-remark-images-grid
npm install gatsby-remark-images-grid --save
gatsby-config.js
file:module.exports = {
plugins: [
{
resolve: "gatsby-transformer-remark",
options: {
plugins: [
// Make CSS grids available
// without options
"gatsby-remark-images-grid"
// or
// with options
{
resolve: "gatsby-remark-images-grid",
options: {
className: "myCustomClassName",
gridGap: "20px",
margin: "20px auto",
},
},
],
},
},
],
}
Note: If you use others images remark plugins, put
gatsby-remark-images-grid
first because images are not images nodes before being wrapped by a grid
code
syntaxgrid
for the lang followed by the number of columns you want and the caption (optional) separated by a pipe (|
)```grid|2|My super images!


```
```grid|3



```
```grid|4




```
Name | PropType | Description | Default | Example |
---|---|---|---|---|
className | string | Custom className | "gatsbyRemarkImagesGrid" | "myCustomClassName" |
gridGap | string | Grid gap (horizontal and vertical) | - | "20px" |
margin | string | Margin around grid | - | "20px auto" |
See CONTRIBUTING.md guidelines
See CHANGELOG.md
This project is licensed under the MIT License - see the LICENCE.md file for details
FAQs
CSS grid layouts for your images made easy in markdown
We found that gatsby-remark-images-grid 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.