defaultRoot

abstract val defaultRoot: Property<String>(source)

A root composable to use as a fallback if no root is explicitly specified.

Even if set, this value will be overridden if a root value is set inside the markdown's front-matter block.

IMPORTANT: This approach was commonly used to call a layout method directly as the first call inside the page, but we are migrating away from that concept to recommend using @Layouts instead. See defaultLayout.