Skip to content

Commit

Permalink
Merge pull request #6 from RoachxD/master
Browse files Browse the repository at this point in the history
Fix `MD001/heading-increment/header-increment` rule violation in `README.md`
  • Loading branch information
SanichKotikov authored Aug 16, 2023
2 parents 4d65500 + 3086d96 commit 200ae49
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use [polyfills](https://formatjs.io/docs/polyfills) for some outdated browsers.
npm i solid-i18n
```

#### Displaying Messages
### Displaying Messages

```typescript jsx
import { createI18n, I18nProvider, Text } from 'solid-i18n';
Expand All @@ -37,7 +37,7 @@ function App() {
}
```

#### Plural Formatting
### Plural Formatting

```typescript jsx
<Text
Expand All @@ -46,7 +46,7 @@ function App() {
/>
```

#### Date Formatting
### Date Formatting

```typescript jsx
<Text
Expand All @@ -65,7 +65,7 @@ function App() {

Note: use `{datetime, date}` for number or string values.

#### Number Formatting
### Number Formatting

```typescript jsx
<Numeric
Expand All @@ -75,7 +75,7 @@ Note: use `{datetime, date}` for number or string values.
/>
```

#### useI18n
### useI18n

```typescript jsx
import { useI18n } from 'solid-i18n';
Expand All @@ -93,7 +93,7 @@ function SomeComp() {
}
```

#### Define Messages
### Define Messages

```typescript jsx
import { useI18n, defineMessages } from 'solid-i18n';
Expand All @@ -108,7 +108,7 @@ function SomeComp() {
}
```

#### Using Presets
### Using Presets

```typescript jsx
import { createI18n, I18nProvider, Text } from 'solid-i18n';
Expand Down

0 comments on commit 200ae49

Please sign in to comment.