; (function (win) { win.ProBadgePlugin = {} function create() { var regex = /\!\[pro\]\((\S+)\)/g; var proLink = '' + '' + ''; return function (hook) { hook.beforeEach(function (content, next) { content = content.replaceAll(regex, proLink) next(content) }) } } win.ProBadgePlugin.create = create })(window)