Skip to content

MarkdownPostProcessorRegistrarRegisterMarkdownPostProcessorParams.postProcessor method

MarkdownPostProcessorRegistrarRegisterMarkdownPostProcessorParams › postProcessor

Post processor function to register.

Signature:

postProcessor(el: HTMLElement, ctx: MarkdownPostProcessorContext): Promisable<void>

Parameters:

ParameterTypeDescription
elHTMLElementThe HTML element to process.
ctxMarkdownPostProcessorContextThe markdown post processor context.

Returns: Promisable<void>A promisable that resolves when the post processing is complete.