Skip to content

Vizel API / core/src / VizelCalloutOptions

Interface: VizelCalloutOptions

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

Options for the Callout extension.

Properties

HTMLAttributes?

ts
optional HTMLAttributes?: Record<string, unknown>;

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

HTML attributes to add to the callout element.


markdownFormat?

ts
optional markdownFormat?: VizelCalloutMarkdownFormat;

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

Markdown output format for callout serialization.

When using createVizelExtensions(), this is set automatically based on the editor's flavor setting (e.g. "gfm" -> "github-alerts", "obsidian" -> "obsidian-callouts"). When using VizelCallout directly, defaults to "directives".

Released under the MIT License.