MarkdownPreviewRenderer
Constructors
new MarkdownPreviewRenderer()
new MarkdownPreviewRenderer():
MarkdownPreviewRenderer
Returns
Methods
createCodeBlockPostProcessor()
static
createCodeBlockPostProcessor(language
,handler
): (el
,ctx
) =>void
Parameters
• language: string
• handler
Returns
Function
Parameters
• el: HTMLElement
• ctx: MarkdownPostProcessorContext
Returns
void
registerPostProcessor()
static
registerPostProcessor(postProcessor
,sortOrder
?):void
Parameters
• postProcessor: MarkdownPostProcessor
• sortOrder?: number
Returns
void
unregisterPostProcessor()
static
unregisterPostProcessor(postProcessor
):void
Parameters
• postProcessor: MarkdownPostProcessor
Returns
void