From b6c0a9cfe72cdcbf34132691de65bfdb56267a9b Mon Sep 17 00:00:00 2001 From: Tony Date: Mon, 12 Aug 2024 21:23:21 +0800 Subject: [PATCH] Fix readme code block language --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 575b4a9..3eb8855 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ npm install docusaurus-plugin-native-ideal-image And add the configuration to `docusaurus.config.js`/`docusaurus.config.ts` -```ts -const config: Config = { +```js +const config = { ... plugins: ['native-ideal-image'], } @@ -21,7 +21,7 @@ const config: Config = { Then you can use it in your project like this -```ts +```tsx import image from '../images/some-image.jpeg' export default function App() {