Skip to content

MarkdownView.setViewData method

MarkdownView › setViewData

Official

Set the view data of the markdown view.

Signature:

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

Parameters:

Parameter Type Description
data string
clear boolean

Returns: void