Skip to content

Commit

Permalink
docs: Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nuintun committed Mar 7, 2024
1 parent 1c661fd commit 0ccdded
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
### Usage

#### Common Interface
##### Common Interface

```ts
export class Charset {
Expand Down Expand Up @@ -58,7 +58,7 @@ export class Charset {
declare type FNC1 = [mode: 'GS1'] | [mode: 'AIM', indicator: number];
```

#### Encoder Interface
##### Encoder Interface

```ts
export class Alphanumeric {
Expand Down Expand Up @@ -109,7 +109,7 @@ export class Encoder {
}
```

#### Encoder Example
##### Encoder Example

```ts
import { Byte, Encoder, Hanzi, Kanji } from '@nuintun/qrcode';
Expand All @@ -130,7 +130,7 @@ const qrcode = encoder.encode(
console.log(qrcode.toDataURL());
```

#### Decoder Interface
##### Decoder Interface

```ts
export class BitMatrix {
Expand Down Expand Up @@ -211,7 +211,7 @@ export class Decoder {
}
```

#### Decoder Example
##### Decoder Example

```ts
import { binarize, Decoder, Detector, grayscale } from '@nuintun/qrcode';
Expand Down
10 changes: 5 additions & 5 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
### Usage

#### Common Interface
##### Common Interface

```ts
export class Charset {
Expand Down Expand Up @@ -58,7 +58,7 @@ export class Charset {
declare type FNC1 = [mode: 'GS1'] | [mode: 'AIM', indicator: number];
```

#### Encoder Interface
##### Encoder Interface

```ts
export class Alphanumeric {
Expand Down Expand Up @@ -109,7 +109,7 @@ export class Encoder {
}
```

#### Encoder Example
##### Encoder Example

```ts
import { Byte, Encoder, Hanzi, Kanji } from '@nuintun/qrcode';
Expand All @@ -130,7 +130,7 @@ const qrcode = encoder.encode(
console.log(qrcode.toDataURL());
```

#### Decoder Interface
##### Decoder Interface

```ts
export class BitMatrix {
Expand Down Expand Up @@ -211,7 +211,7 @@ export class Decoder {
}
```

#### Decoder Example
##### Decoder Example

```ts
import { binarize, Decoder, Detector, grayscale } from '@nuintun/qrcode';
Expand Down

0 comments on commit 0ccdded

Please sign in to comment.