Skip to content
Last updated

Built-in Markdoc attribute resolvers

Custom Markdoc attribute resolvers define special attributes that resolve during build time. Use this functionality to transform file paths into proper slugs and load file content.

Available resolvers

The following resolvers are available for use in your Markdoc schema attributes:

  • link - Transforms file paths into proper route slugs or static asset URLs.
  • rawContent - Loads the raw content of files as strings.