PluginPageContent #

What a plugin gives for one page: its Markdown and extra frontmatter.

Fields #

markdownstring

Markdown source. <!--@include--> is not supported.

frontmatteroptionalRecord<string, unknown>

Merged into the frontmatter of the page; a key given here replaces the same key of the Markdown's own frontmatter. JSON values only.

Full type signature
TypeScript
interface PluginPageContent {
  markdown: string
  frontmatter?: Record<string, unknown>
}

Edit this page

Comments