MarkdownDocumentEditor.PreviewMarkdownCallback

Callback handler callable from JavaScript editor///

public Task PreviewMarkdownCallback(bool dontGetMarkdown,
	int editorLineNumber,
	bool noPreviewScrolling)

Parameters

dontGetMarkdown
If true doesn't retrieve markdown and uses MarkdownDocument.CurrentText instead

editorLineNumber
Optional line number to go to in the preview. -1 to figure out from editor position

noPreviewScrolling
if true won't scroll the preview to match editor position. If true this will override the editorLine Number


See also:

Class MarkdownDocumentEditor

© West Wind Technologies, 2016-2023 • Updated: 11/23/21
Comment or report problem with topic