Skip to content

[Feature][Plugin]: Dynamic og-image plugin-og-image #2794

@SoonIter

Description

@SoonIter

What problem does this feature solve?

Solutions for dynamically generating OG images

rolldown/rolldown#7135

Image

The general idea is to use an SVG as a placeholder, then populate each page's information into it and convert it to a PNG.

What does the proposed API look like?

A very straightforward way

pluginOgImage({
    siteUrl: 'https://v2.rspress.rs',
})

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions