Skip to content

Commit b17425d

Browse files
Chore: Tag code snippet in readme
1 parent 9398fa4 commit b17425d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ npm install @paystack/paystack-sdk --save
1313

1414
## Usage
1515
Import and initialize the library:
16-
```
16+
```javascript
1717
const Paystack = require('@paystack/paystack-sdk')
1818
const paystack = new Paystack("sk_test_xxxxxx")
1919

@@ -23,7 +23,7 @@ paystack.transaction.initialize({email: "test@example.com", amount: 20000})
2323
```
2424

2525
Import and initialize the library using ES module with `async/await`:
26-
```
26+
```javascript
2727
import Paystack from '@paystack/paystack-sdk'
2828
const paystack = new Paystack("sk_test_xxxxxx")
2929

@@ -42,7 +42,7 @@ initialize(email, amount)
4242
```
4343

4444
### Typescript
45-
```
45+
```typescript
4646
import Paystack from '@paystack/paystack-sdk';
4747
const paystack = new Paystack("sk_test_xxxxxx");
4848

0 commit comments

Comments
 (0)