Change plugin configuration method
3y3 opened this issue · 0 comments
3y3 commented
At current time all plugins consumes union (global) configuration object, which passes from md constructor.
This configuration method can be buggy on large scope of plugins.
Proposal:
Move plugin configuration to closure:
export function somePlugn(options) {
return function pluginBody(md) {
if (options.flag) {
...
}
}
}