Skip to content

Commit

Permalink
Merge pull request #13 from axel3rd/cdn-jsdelivr
Browse files Browse the repository at this point in the history
Fix #12 : Switch CDN from "unpkg.com" to "cdn.jsdelivr.net"
  • Loading branch information
njleonzhang committed Jul 30, 2020
2 parents 106b1ba + 98eda98 commit 7e45952
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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.

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

```html
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="edit on github plugin for docsify">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css">
</head>
<body>
<div id="app"></div>
Expand All @@ -33,6 +33,6 @@
]
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
</body>
</html>

0 comments on commit 7e45952

Please sign in to comment.