@umbraco-cms/backoffice
    Preparing search index...

    Type Alias AllowedAttribute

    AllowedAttribute: string | { name: string; skipIfDefault?: any }

    Configuration for an allowed attribute in markdown serialization. Can be a simple string (attribute name) or an object with additional options.

    Type Declaration

    • string
    • { name: string; skipIfDefault?: any }
      • name: string

        The attribute name

      • OptionalskipIfDefault?: any

        If provided, the attribute will be skipped during serialization when its value equals this default value. This keeps markdown output clean by omitting attributes that have their default values.