(ext: MarkdownDeserializerMdastExtension)
| 215 | const mdastExtensions: MarkdownDeserializerMdastExtension[] = [] |
| 216 | |
| 217 | const setMdastExtensions = (ext: MarkdownDeserializerMdastExtension) => { |
| 218 | if (Array.isArray(ext)) { |
| 219 | for (const e of ext) { |
| 220 | setMdastExtensions(e) |
| 221 | } |
| 222 | } else if (!mdastExtensions.some(e => e === ext)) { |
| 223 | mdastExtensions.push(ext) |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | for (const plugin of this._plugins.concat(plugins)) { |
| 228 | if (plugin.extensions) setExtensionsOrDisable(plugin.extensions) |
no outgoing calls
no test coverage detected
searching dependent graphs…