From b463cae1c077ed8d4ac9fe2220bf054eb02e8fbf Mon Sep 17 00:00:00 2001
From: Nguyen Huu Kim <13513658+kimyvgy@users.noreply.github.com>
Date: Tue, 24 Sep 2024 00:27:00 +0700
Subject: [PATCH] docs: add jsDelivr example
---
README.md | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 0990fe6..ce68df8 100644
--- a/README.md
+++ b/README.md
@@ -18,20 +18,27 @@ Install NPM package - https://www.npmjs.com/package/simple-scrollspy:
npm install simple-scrollspy
```
-### Using CDNjs
+### Using CDN
-The `simple-scrollspy` is already on CDNjs. Therefore, you can:
-1. Go to https://cdnjs.com/libraries/simple-scrollspy
-2. Choose a version
-3. Click `Copy Script Tag`, CDNjs will generate the script and copy them to your clipboard. For example:
+#### cdnjs
+
+The `simple-scrollspy` library is available on [cdnjs](https://cdnjs.com/libraries/simple-scrollspy). For instance:
```html
```
+#### jsDelivr
+
+The `simple-scrollspy` can be installed using [jsDelivr](https://jsdelivr.com). For instance:
+
+```html
+
+```
+
### Using `simple-scrollspy.min.js` file
-You can download `simple-scrollspy.min.js` file on each release. Please check [the latest version](https://github.com/kimyvgy/simple-scrollspy/releases/latest).
+The `simple-scrollspy.min.js` file is available for download with each release. To obtain the most recent version, please visit [the latest release page](https://github.com/kimyvgy/simple-scrollspy/releases/latest) on GitHub.
```html