Closed mikelhamer closed 3 years ago
There are no need to "improve" working things :)
There are no need to "improve" working things :)
So there is nothing wrong with calling the same require method over and over again for every custom container?
Yes. Or you can create temporary var if you wish.
I would like configure multiple container names to all use the default renderer. I am able to accomplish this with
Is there any downside to calling the require method more than once like this?
I am wondering if there is a simpler way. Maybe something like this?
md.use(require('markdown-it-container'), ['container-1', container-2']));