Skip to content

Commit

Permalink
docs: fix typo in links docs (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
elfenheart authored Apr 9, 2024
1 parent 584839d commit fa4c5c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/links.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ MDXEditor supports markdown links through the links plugin. An additional popove
To enable the markdown link import, pass the `linkPlugin` to the plugins property of the MDXEditor component.

```tsx
import { linkPlugin } from '@mdxeditor/editor/plugins/link'
import { linkPlugin } from '@mdxeditor/editor/plugins/link';
// ...

;<MDXEditor markdown="Hello [world](https://virtuoso.dev/)" plugins={[linkPlugin()]} />
<MDXEditor markdown="Hello [world](https://virtuoso.dev/)" plugins={[linkPlugin()]} />
```

## The link dialog plugin
Expand Down

0 comments on commit fa4c5c4

Please sign in to comment.