Skip to content

Vizel API / core/src / resolveVizelFlavorConfig

Function: resolveVizelFlavorConfig() ​

ts
function resolveVizelFlavorConfig(flavor?): VizelFlavorConfig;

Defined in: packages/core/src/utils/markdown-flavors.ts:54

Resolve the VizelFlavorConfig carried inside a flavor's config field.

Falls back to CommonMark-equivalent defaults when the flavor does not declare these settings.

Parameters ​

ParameterTypeDefault value
flavorVizelMarkdownFlavorVIZEL_DEFAULT_FLAVOR

Returns ​

VizelFlavorConfig

Released under the MIT License.