Skip to content

Commit 7e45952

Browse files
authored
Merge pull request #13 from axel3rd/cdn-jsdelivr
Fix #12 : Switch CDN from "unpkg.com" to "cdn.jsdelivr.net"
2 parents 106b1ba + 98eda98 commit 7e45952

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
A plugin for docsify to generate a `edit on github` button on every pages. click the button to open corresponding `md` editing page on github.
33

44
```html
5-
<script src="//unpkg.com/docsify-edit-on-github/index.js"></script>
5+
<script src="//cdn.jsdelivr.net/npm/docsify-edit-on-github"></script>
66
```
77

88
```html

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
77
<meta name="description" content="edit on github plugin for docsify">
88
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
9-
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
9+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css">
1010
</head>
1111
<body>
1212
<div id="app"></div>
@@ -33,6 +33,6 @@
3333
]
3434
}
3535
</script>
36-
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
36+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
3737
</body>
3838
</html>

0 commit comments

Comments
 (0)