Skip to content

rendererConfig

renderer

The Markdown Content Renderer to use for rendering pages within StudioCMS

  • Type: 'marked' | 'markdoc' | 'astro' | 'mdx' | CustomRenderer
  • Default: 'marked'

renderer determines how Markdown content should be rendered in studioCMS. This is used to setup your content data. The default value is marked but you can also use markdoc or astro which uses Astro’s built-in Remark processor.

Usage

astro.config.mjs
studioCMS({
rendererConfig: {
renderer: 'marked'
},
})

markedConfig

markedConfig is an object that is used to determine how content should be rendered in the studioCMS. This is used to setup your content data.

Usage

markdocConfig

markdocConfig is an object that is used to determine how content should be rendered in studiocms while using the MarkDoc renderer.

Usage

mdxConfig

mdxConfig is an object that is used to determine how content should be rendered in studiocms while using the MDX renderer.

Usage