rmdgallery::gallery_content( class = c("gallery-embed-html", params$class), gallery_config = params$gallery_config, htmltools::HTML(params$content) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.