docsify-ads
v1.0.4
Published
a docsify plugin to show your ads
Downloads
171
Readme
docsify-ads
docsify plugin to show your ads!(定制你的广告)
Usage
Configure docsify-ads:(配置)
<script> window.$docsify = { // docsify ads 配置广告 ads: [ { img: 'https://dn-lego-static.qbox.me/cps/1638355965-480x300.jpg', href: 'https://s.qiniu.com/zqiMBz' }, { img: 'https://dn-lego-static.qbox.me/cps/1638355965-480x300.jpg', href: 'https://s.qiniu.com/VJFJvi' }, { img: 'https://dn-lego-static.qbox.me/cps/1638355799-480300.jpg', href: 'https://s.qiniu.com/7nM3uy' }, { img: 'https://dn-lego-static.qbox.me/cps/1638268412-480x300.jpg', href: 'https://s.qiniu.com/VZvaii' }, { img: 'https://dn-lego-static.qbox.me/cps/1638268217-480x300.jpg', href: 'https://s.qiniu.com/nMnaQj' }, { img: 'https://dn-lego-static.qbox.me/cps/1638267917-480x300.jpg', href: 'https://s.qiniu.com/aqAneu' }, } } </script>
Insert script into docsify document:
<!-- body --> <script src="https://unpkg.com/[email protected]/dist/docsify-ads.min.js"></script>