knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) library(tibble)
library(bs4cards)
To modify the separation between cards, use the spacing argument. Currently this argument is numeric, and takes a number between 0 and 5. At spacing = 0, all spacing between cards is removed:
cards(data = galleries[1:6, ], image = image_url, spacing = 0)
At spacing = 5 there is a lot of room between cards:
cards(data = galleries[1:6, ], image = image_url, spacing = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.