Skip to content

Vizel API / core/src / createVizelCalloutExtension

Function: createVizelCalloutExtension() ​

ts
function createVizelCalloutExtension(options?): Node<VizelCalloutOptions, any>;

Defined in: packages/core/src/extensions/callout.ts:453

Create a configured Callout extension.

Parameters ​

ParameterType
optionsVizelCalloutOptions

Returns ​

Node&lt;VizelCalloutOptions, any&gt;

Example ​

typescript
import { createVizelCalloutExtension } from '@vizel/core'

const extensions = [
  createVizelCalloutExtension({ markdownFormat: "github-alerts" }),
]

Released under the MIT License.