Skip to content

Commit e446bf9

Browse files
authored
fix(docs): script source for zoom-image plugin (docsifyjs#2776)
1 parent bd71ebf commit e446bf9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

docs/v5-upgrade.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ View [Theme Classes](themes.md?id=classes) for more details.
101101
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
102102

103103
<!-- v5 -->
104-
<script src="//cdn.jsdelivr.net/npm/docsify@5/dist/plugins/zoom.min.js"></script>
104+
<script src="//cdn.jsdelivr.net/npm/docsify@5/dist/plugins/zoom-image.min.js"></script>
105105
```
106106

107107
**Note:** If you're using additional Docsify plugins (such as emoji, external-script, front-matter, etc.), you'll need to update those URLs as well following the same pattern:
@@ -115,7 +115,6 @@ View [Theme Classes](themes.md?id=classes) for more details.
115115
- **CDN Path**: Changed from `/lib/` to `/dist/`
116116
- **Version**: Updated from `@4` to `@5`
117117
- **Themes**: v5 uses a core theme (with optional add-ons available)
118-
- **Plugin Names**: `zoom-image``zoom`
119118

120119
## Additional Notes
121120

0 commit comments

Comments
 (0)