Skip to content

MarkdownPreviewView.set method

MarkdownPreviewView › set

Official

Set the markdown content of the markdown preview view.

Signature:

set(data: string, clear: boolean): void

Parameters:

ParameterTypeDescription
datastringThe content.
clearbooleanWhether to clear first.

Returns: void