Skip to content

Commit

Permalink
docs: fix typo (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
KarelVerschraegen authored Oct 29, 2023
1 parent fe09ca4 commit b958500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ MDXEditor is an open-source React component that allows users to author markdown
The component supports the core markdown syntax and certain extensions, including tables, images, code blocks, etc. It also allows users to edit JSX components with a built-in JSX editor or a custom one.

```jsx
import {MDXEditor, headingsPlugin()} from '@mdxeditor/editor';
import {MDXEditor, headingsPlugin} from '@mdxeditor/editor';

export default function App() {
return <MDXEditor markdown={'# Hello World'} plugins={[headingsPlugin()]} />;
Expand Down

0 comments on commit b958500

Please sign in to comment.