Function: directivesPlugin()
directivesPlugin(
params?):RealmPlugin
A plugin that adds support for markdown directives.
Parameters
| Parameter | Type | Description |
|---|---|---|
params? | object | - |
params.directiveDescriptors? | DirectiveDescriptor<any>[] | Use this to register your custom directive editors. You can also use the built-in GenericDirectiveEditor. |
params.escapeUnknownTextDirectives? | boolean | Set this option to display unknown text-directives as normal text nodes. This is handy when colons are used to separate words, e.g. in german "Schüler:in" |