From ff103e7f47fbe55dc7d13bc1f30a70bd4e842a43 Mon Sep 17 00:00:00 2001 From: ningtenglei Date: Wed, 13 Jul 2022 18:53:35 +0800 Subject: [PATCH] docsify-plugin-adsense --- README.md | 29 ++++++++++++++++++++++++++++- package.json | 25 +++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 package.json diff --git a/README.md b/README.md index 8704452..a96b6b0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,29 @@ # docsify-plugin-adsense -plugin to make you easy to join up google adsense + +[docsify](https://docsify.js.org/) plugin to make you easy to join up [google adsense](https://www.google.com/adsense) + +[![](https://img.shields.io/github/downloads/iscod/docsify-plugin-adsense/total)](https://github.com/iscod/docsify-plugin-adsense/releases) + +## Usage + +```html + +``` + +```js +window.$docsify = { + plugins: [ + // Change to your adsense ca-pub-xxxx + DocsifyAds.create('ca-pub-xxxx') + ] +} +``` + +## Example + +See example site: [iscod.github.io](http://iscod.github.io) + +## ☕️ Donate + +[![Donate](https://img.shields.io/badge/Donate-WebChat-50BE6E)](https://iscod.github.io/images/donate/webchat.png) +[![Donate](https://img.shields.io/badge/Donate-AliPay-377EF8)](https://iscod.github.io/images/donate/alipay.png) diff --git a/package.json b/package.json new file mode 100644 index 0000000..01cbe2b --- /dev/null +++ b/package.json @@ -0,0 +1,25 @@ +{ + "name": "docsify-plugin-adsense", + "version": "1.0.0", + "description": "[docsify](https://docsify.js.org/) plugin to make you easy to join up [google adsense](https://www.google.com/adsense)", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/iscod/docsify-plugin-adsense.git" + }, + "keywords": [ + "google adsense", + "adsense", + "docsify", + "plugin" + ], + "author": "iscod", + "license": "MIT", + "bugs": { + "url": "https://github.com/iscod/docsify-plugin-adsense/issues" + }, + "homepage": "https://github.com/iscod/docsify-plugin-adsense#readme" +}