Skip to content

Commit 2b756d3

Browse files
committed
try to highligh code snippets with html instead of jsx #1838
1 parent 4cbe54d commit 2b756d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The general i18next documentation is published on [www.i18next.com](https://www.
4040

4141
**Before:** Your react code would have looked something like:
4242

43-
```jsx
43+
```html
4444
...
4545
<div>Just simple content</div>
4646
<div>
@@ -51,7 +51,7 @@ The general i18next documentation is published on [www.i18next.com](https://www.
5151

5252
**After:** With the trans component just change it to:
5353

54-
```jsx
54+
```html
5555
...
5656
<div>{t('simpleContent')}</div>
5757
<Trans i18nKey="userMessagesUnread" count={count}>

0 commit comments

Comments
 (0)