feat(plugin): add codesponsor plugin

This commit is contained in:
qingwei.li 2017-09-20 08:57:19 +08:00
commit 46ac4c3fd2
5 changed files with 97 additions and 3 deletions

View file

@ -64,8 +64,8 @@ function style () {
.search p.empty {
text-align: center;
}`
const style = Docsify.dom.create('style', code)
Docsify.dom.appendTo(Docsify.dom.head, style)
Docsify.dom.style(code)
}
function tpl (opts, defaultValue = '') {