Module renderer/services/markdown
Variables
markdown
Functions
getRenderCache
- getRenderCache(domain: string): Map<string, any>
- getRenderCache<T>(domain: string, key: string, fallback?: T | (() => T)): T
Parameters
Returns Map<string, any>
Type parameters
Parameters
domain: string
key: string
Optional fallback: T | (() => T)
Returns T
registerPlugin
- registerPlugin(plugin: (md: markdownit, ...args: any) => void, params?: any): void
Parameters
plugin: (md: markdownit, ...args: any) => void
Optional params: any
Returns void
Markdown-it instance