Skip to content

@pumpkin-plugins/docs API / sections / renderBlocks

Function: renderBlocks() ​

renderBlocks(info): Record<string, string>

Defined in: tools/docs/src/sections.ts:30

Every generated block of a plugin README: the built-in sections and the plugin's own blocks.

Parameters ​

info ​

PluginInfo

What the plugin says about itself.

Returns ​

Record<string, string>

Throws ​

When a plugin block uses the name of a built-in section.

Pumpkin Plugins documentation