Plugin.registerMarkdownPostProcessor method
Plugin › registerMarkdownPostProcessor
Official
Registers a post processor, to change how the document looks in reading mode.Signature:
registerMarkdownPostProcessor(postProcessor: MarkdownPostProcessor, sortOrder?: number | undefined): MarkdownPostProcessorParameters:
| Parameter | Type | Description |
|---|---|---|
| postProcessor | MarkdownPostProcessor | The post processor. |
| sortOrder? | number | undefined | The sort order. |
Returns: MarkdownPostProcessor
Since: 0.9.7
Example:
plugin.registerMarkdownPostProcessor((el, ctx) => { el.createEl('strong');});