Skip to content

Commit ac0d51a

Browse files
author
Rastislav
committed
Fix readme
1 parent c6fecba commit ac0d51a

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,26 @@
1010

1111
Latest version
1212
```html
13-
<script src="https://cdn.jsdelivr.net/gh/cryptohub-digital/coco/dist/css/coco.min.css"></script>
13+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/cryptohub-digital/coco/dist/css/coco.min.css" />
1414
```
1515

1616
Minor updates and patch fixes within a major version
1717
```html
18-
<script src="https://cdn.jsdelivr.net/gh/cryptohub-digital/coco@1/dist/css/coco.min.css"></script>
18+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/cryptohub-digital/coco@1/dist/css/coco.min.css" />
1919
```
2020

2121
Patch fixes within a minor version
2222
```html
23-
<script src="https://cdn.jsdelivr.net/gh/cryptohub-digital/coco@1.1/dist/css/coco.min.css"></script>
23+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/cryptohub-digital/coco@1.1/dist/css/coco.min.css" />
2424
```
2525

26+
Using SRI with exact version
27+
```html
28+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/cryptohub-digital/coco@1.1.0/dist/css/coco.min.css" integrity="sha384-{hash}" crossorigin="anonymous" />
29+
```
30+
31+
> Please, replace {hash} with hash generated for chosen specific version. You can use for example this [SRI Hash Generator](https://www.srihash.org/).
32+
2633
## Install
2734

2835
#### NPM

0 commit comments

Comments
 (0)