Skip to content

Commit

Permalink
Update intro.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lachieh authored Nov 5, 2024
1 parent a090095 commit cb1286f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Since `@shiki/rehype` will handle parsing the code from the markdown, we don't n
Swizzle the component:

```bash
yarn docusaurus swizzle @docusaurus/theme-classic MDXComponents/Code --typescript --eject
npx docusaurus swizzle @docusaurus/theme-classic MDXComponents/Code --typescript --eject
```

Edit the file `src/theme/MDXComponents/Code.tsx`
Expand Down Expand Up @@ -137,7 +137,7 @@ export default function MDXCode(props): JSX.Element {
Swizzle the component:

```bash
yarn docusaurus swizzle @docusaurus/theme-classic MDXComponents/Pre --typescript --eject
npx docusaurus swizzle @docusaurus/theme-classic MDXComponents/Pre --typescript --eject
```

Edit the file `src/theme/MDXComponents/Pre.tsx`:
Expand Down

0 comments on commit cb1286f

Please sign in to comment.