Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #189

Merged
merged 2 commits into from
Apr 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
在*个人 JS 页*添加以下代码:

```javascript
mw.loader.load("https://cdn.jsdelivr.net/npm/mediawiki-inpageedit@latest/dist/InPageEdit.min.js");
/**
* 从下面的方法中任选一个即可 Choose one from the following
*/
// 1. jsdelivr
mw.loader.load('https://cdn.jsdelivr.net/npm/mediawiki-inpageedit')
// 2. unpkg
mw.loader.load('https://unpkg.com/mediawiki-inpageedit')
```

**注意**:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
Expand Down