CHENXCHEN / hexo-renderer-markdown-it-plus

Markdown-it is a markdown parser, done right. A faster and CommonMark compliant alternative for Hexo.
https://chchc.me/hexo-article/2017/07/27/hexo-renderer-markdown-it-plus-plugin-demo/
MIT License
120 stars 22 forks source link

How to pass parameter type name [, options] #24

Open anhdhbn opened 5 years ago

anhdhbn commented 5 years ago

I want use this plugin markdown-it-container API of that plugin is var md = require('markdown-it')() .use(require('markdown-it-container'), name [, options]); I want pass multi-value name to this plugin, how i do it ?? Ex: var md = require('markdown-it')() .use(require('markdown-it-container'), 'warning'); var md = require('markdown-it')() .use(require('markdown-it-container'), 'tip');