Skip to content

Commit e7bb9fa

Browse files
authored
Update README.md
1 parent 9803ae6 commit e7bb9fa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ npm install javascript-interface-library
2222

2323
or load the plain script file directly
2424

25-
```
25+
```html
2626
<script src="https://unpkg.com/javascript-interface-library"></script>
2727
```
2828

@@ -43,7 +43,7 @@ Note for ECMAScript module users: all module functions and values are exported i
4343

4444
For Svelte, it is recommended to import the package in a module context. From then on, its exports may be used as usual:
4545

46-
```
46+
```html
4747
<script context="module">
4848
import { ValueIsListSatisfying, ValueIsOrdinal } from 'javascript-interface-library'
4949
</script>
@@ -59,7 +59,7 @@ For Svelte, it is recommended to import the package in a module context. From th
5959

6060
Let's assume that you already "required" or "imported" (or simply loaded) the module according to your local environment. In that case, you may use it as follows:
6161

62-
```
62+
```javascript
6363
console.log(JIL.ValueIsListSatisfying(
6464
[1,2,3,4], JIL.ValueIsOrdinal, 1,10
6565
))

0 commit comments

Comments
 (0)