/** @jsxImportSource react */ // deno-lint-ignore no-unused-vars import React from 'react' import { BoldItalicUnderlineToggles, ChangeCodeMirrorLanguage, CodeToggle, ConditionalContents, CreateLink, DiffSourceToggleWrapper, headingsPlugin, InsertCodeBlock, InsertFrontmatter, InsertImage, InsertTable, InsertThematicBreak, ListsToggle, markdownShortcutPlugin, MDXEditor, Separator, StrikeThroughSupSubToggles, toolbarPlugin, UndoRedo, } from '@mdxeditor/editor' export default function MdxEditor(props: { markdown?: string }) { return ( , }), ]} /> ) } function KitchenSinkToolbar() { return ( ) => editor?.editorType === 'codeblock', contents: () => , }, { fallback: () => ( <> ), }, ]} /> ) }