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:

Parameter Type Description
data string
clear boolean

Returns: void