markdown-code-block-processor-registrar
Registers a markdown code block processor.
Classes
Section titled “Classes”| Class | Description |
|---|---|
| PluginMarkdownCodeBlockProcessorRegistrar | A registrar for markdown code block processors. Obsidian ties a processor registered through Plugin.registerMarkdownCodeBlockProcessor to the plugin’s unload, so a component that registers one from its own onload and is later unloaded while the plugin stays loaded leaves the processor behind, and registering the same language again throws Code block postprocessor for language ... is already registered. A lifetime owner ties the processor to that component instead. |
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| MarkdownCodeBlockProcessorRegistrar | A registrar for markdown code block processors. |
| Type | Description |
|---|---|
| MarkdownCodeBlockProcessorLifetimeOwnerProvider | Resolves the component whose unload unregisters a code block processor, for a registration that names none. |