{
  "id": "task_libraries:markdown-editor/react",
  "path": "/exapedia/react-markdown-editor-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "React Markdown editor libraries",
  "answer": [
    {
      "t": "text",
      "text": "React Markdown editor libraries add a writing surface to a React app that stores content as Markdown. An editor either shows the Markdown source beside a rendered preview or hides the syntax behind formatted text. These libraries let documentation tools, content dashboards, and note-taking apps keep user writing as portable plain text."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "React Markdown editor libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#tiptap-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F130"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#monaco-editor-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F144"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#lexical-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F158"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#uiw-react-codemirror",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F176"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mdxeditor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F195"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#uiw-markdown-editor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F211"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#blocknote-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F223"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tinymce-tinymce-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F243"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#tiptap-react",
          "label": [
            {
              "t": "text",
              "text": "@tiptap/react"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F131"
        },
        {
          "t": "text",
          "text": ", a count that covers all its rich text editing."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Formatted editing",
            "Supplied toolbar"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#tiptap-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F130"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#monaco-editor-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F144"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#lexical-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F158"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#uiw-react-codemirror",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F176"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mdxeditor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F195"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#uiw-markdown-editor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F211"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#blocknote-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F223"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tinymce-tinymce-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F243"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F253"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "tiptap-react",
          "name": [
            {
              "t": "fact",
              "fact": "F130"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/ueberdosis/tiptap"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@tiptap/react"
            },
            {
              "label": "Docs",
              "href": "https://tiptap.dev"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F137"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://tiptap.dev",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F130"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { EditorContent, useEditor } from '@tiptap/react'\nimport StarterKit from '@tiptap/starter-kit'\nimport { Markdown } from '@tiptap/markdown'\n\nexport default function App() {\n  const editor = useEditor({ extensions: [StarterKit, Markdown], content: '# Hello', contentType: 'markdown' })\n  return <EditorContent editor={editor} />\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://tiptap.dev/docs/editor/getting-started/install/react",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40tiptap/react%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F130"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F135"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "monaco-editor-react",
          "name": [
            {
              "t": "fact",
              "fact": "F144"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/suren-atoyan/monaco-react"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@monaco-editor/react"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F151"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/suren-atoyan/monaco-react",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F144"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import Editor from '@monaco-editor/react'\n\nexport default function App() {\n  return <Editor height=\"300px\" defaultLanguage=\"markdown\" defaultValue=\"# Hello\" />\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/suren-atoyan/monaco-react/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40monaco-editor/react%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F144"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F149"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "lexical-react",
          "name": [
            {
              "t": "fact",
              "fact": "F158"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/meta/lexical"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@lexical/react"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F165"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.npmjs.com/package/@lexical/react",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F158"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/payloadcms/payload",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F174"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "jsx",
              "code": "export const LexicalEditor: React.FC<\n  {\n    editorContainerRef: React.RefObject<HTMLDivElement | null>\n    isSmallWidthViewport: boolean\n  } & Pick<LexicalProviderProps, 'editorConfig' | 'onChange' | 'rtl'>\n> = (props) => {\n  const { editorConfig, editorContainerRef, isSmallWidthViewport, onChange, rtl } = props\n  const editorConfigContext = useEditorConfigContext()\n  const [editor] = useLexicalComposerContext()\n  const isEditable = useLexicalEditable()\n  const { t } = useTranslation<Record<string, never>, string>()\n  const instructionsID = React.useId()\n  const hasTabIndentation = isEditable && editorConfig.features.enabledFeatures.includes('indent')\n\n  const [floatingAnchorElem, setFloatingAnchorElem] = useState<HTMLDivElement | null>(null)\n  const onRef = (_floatingAnchorElem: HTMLDivElement) => {\n    if (_floatingAnchorElem !== null) {\n      setFloatingAnchorElem(_floatingAnchorElem)\n    }\n  }\n\n  useEffect(() => {\n    if (!editorConfigContext?.uuid) {\n      console.error('Lexical Editor must be used within an EditorConfigProvider')\n      return\n    }\n    if (editorConfigContext?.parentEditor?.uuid) {\n      editorConfigContext.parentEditor?.registerChild(editorConfigContext.uuid, editorConfigContext)\n    }\n\n    const handleFocus = () => {\n      editorConfigContext.focusEditor(editorConfigContext)\n    }\n\n    const handleBlur = () => {\n      editorConfigContext.blurEditor(editorConfigContext)\n    }\n\n    const unregisterFocus = editor.registerCommand(\n      FOCUS_COMMAND,\n      () => {\n        handleFocus()\n        return true\n      },\n      COMMAND_PRIORITY_LOW,\n    )\n\n    const unregisterBlur = editor.registerCommand(\n      BLUR_COMMAND,\n      () => {\n        handleBlur()\n        return true\n      },\n      COMMAND_PRIORITY_LOW,\n    )\n\n    return () => {\n      unregisterFocus()\n      unregisterBlur()\n      editorConfigContext.parentEditor?.unregisterChild?.(editorConfigContext.uuid)\n    }\n  }, [editor, editorConfigContext])\n\n  return (\n    <React.Fragment>\n      {editorConfig.features.plugins?.map((plugin) => {\n        if (plugin.position === 'aboveContainer') {\n          return <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n        }\n      })}\n      <div className=\"editor-container\" dir={rtl ? 'rtl' : undefined} ref={editorContainerRef}>\n        {editorConfig.features.plugins?.map((plugin) => {\n          if (plugin.position === 'top') {\n            return (\n              <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n            )\n          }\n        })}\n        <RichTextPlugin\n          contentEditable={\n            <div className=\"editor-scroller\">\n              <div className=\"editor\" ref={onRef}>\n                <LexicalContentEditable\n                  editorConfig={editorConfig}\n                  instructionsID={hasTabIndentation ? instructionsID : undefined}\n                />\n              </div>\n            </div>\n          }\n          ErrorBoundary={LexicalErrorBoundary}\n        />\n        <NormalizeSelectionPlugin />\n        {isEditable && <InsertParagraphAtEndPlugin />}\n        <DecoratorPlugin />\n        <ClipboardPlugin />\n        <TextPlugin features={editorConfig.features} />\n        <SelectAllPlugin />\n        <NodeViewOverridePlugin />\n        {isEditable && (\n          <OnChangePlugin\n            // Selection changes can be ignored here, reducing the\n            // frequency that the FieldComponent and Payload receive updates.\n            // Selection changes are only needed if you are saving selection state\n            ignoreSelectionChange\n            onChange={(editorState, editor, tags) => {\n              // Ignore any onChange event triggered by focus only\n              if (!tags.has('focus') || tags.size > 1) {\n                if (onChange != null) {\n                  onChange(editorState, editor, tags)\n                }\n              }\n            }}\n          />\n        )}\n        {floatingAnchorElem && (\n          <React.Fragment>\n            {!isSmallWidthViewport && isEditable && (\n              <React.Fragment>\n                {editorConfig.admin?.hideDraggableBlockElement ? null : (\n                  <DraggableBlockPlugin anchorElem={floatingAnchorElem} />\n                )}\n                {editorConfig.admin?.hideAddBlockButton ? null : (\n                  <AddBlockHandlePlugin anchorElem={floatingAnchorElem} />\n                )}\n              </React.Fragment>\n            )}\n            {editorConfig.features.plugins?.map((plugin) => {\n              if (\n                plugin.position === 'floatingAnchorElem' &&\n                !(plugin.desktopOnly === true && isSmallWidthViewport)\n              ) {\n                return (\n                  <EditorPlugin\n                    anchorElem={floatingAnchorElem}\n                    clientProps={plugin.clientProps}\n                    key={plugin.key}\n                    plugin={plugin}\n                  />\n                )\n              }\n            })}\n            {isEditable && (\n              <React.Fragment>\n                <SlashMenuPlugin anchorElem={floatingAnchorElem} />\n              </React.Fragment>\n            )}\n          </React.Fragment>\n        )}\n        {isEditable && (\n          <React.Fragment>\n            <HistoryPlugin />\n            {editorConfig?.features?.markdownTransformers?.length > 0 && <MarkdownShortcutPlugin />}\n          </React.Fragment>\n        )}\n        {editorConfig.features.plugins?.map((plugin) => {\n          if (plugin.position === 'normal') {\n            return (\n              <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n            )\n          }\n        })}\n        {editorConfig.features.plugins?.map((plugin) => {\n          if (plugin.position === 'bottom') {\n            return (\n              <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n            )\n          }\n        })}\n      </div>\n      {hasTabIndentation && (\n        <p className=\"ContentEditable__keyboard-hint\" id={instructionsID}>\n          {t('lexical:indent:keyboardHint')}\n        </p>\n      )}\n      {editorConfig.features.plugins?.map((plugin) => {\n        if (plugin.position === 'belowContainer') {\n          return <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n        }\n      })}\n    </React.Fragment>\n  )\n}",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/payloadcms/payload/blob/d2b5206968c4f759d37bfb147081e30e55ef17f2/packages/richtext-lexical/src/lexical/LexicalEditor.tsx#L31-L212",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F173"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40lexical/react%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F158"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "jsx",
              "code": "import { LexicalExtensionComposer } from '@lexical/react/LexicalExtensionComposer';\nimport { RichTextExtension } from '@lexical/rich-text';\nimport { defineExtension } from 'lexical';\nconst extension = defineExtension({ name: 'example', namespace: 'example', dependencies: [RichTextExtension] });\nexport default function App() {\n  return <LexicalExtensionComposer extension={extension} />;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/@lexical/react@0.53.0/dist/LexicalExtensionComposer.d.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "LexicalExtensionComposer.d.ts"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F163"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "uiw-react-codemirror",
          "name": [
            {
              "t": "fact",
              "fact": "F176"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/uiwjs/react-codemirror"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@uiw/react-codemirror"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F183"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/uiwjs/react-codemirror",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F176"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/sleuth-io/sx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F193"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "export default function MarkdownEditor({\n  value,\n  onChange,\n  readOnly = false,\n  onView,\n}: {\n  value: string;\n  onChange: (value: string) => void;\n  readOnly?: boolean;\n  /** Receives the live CodeMirror view (for the extension editor API). */\n  onView?: (view: EditorView) => void;\n}) {\n  const dark = usePrefersDark();\n  return (\n    <CodeMirror\n      value={value}\n      onChange={onChange}\n      readOnly={readOnly}\n      onCreateEditor={(view) => onView?.(view)}\n      theme={dark ? \"dark\" : \"light\"}\n      extensions={[\n        // codeLanguages lights up fenced code blocks (```go, ```ts, …)\n        // with each language's own grammar while editing.\n        markdown({ codeLanguages: languages }),\n        baseTheme,\n        EditorView.lineWrapping,\n      ]}\n      basicSetup={{\n        lineNumbers: true,\n        foldGutter: false,\n        highlightActiveLine: !readOnly,\n        highlightActiveLineGutter: !readOnly,\n      }}\n      height=\"100%\"\n      className=\"h-full overflow-hidden rounded-lg border border-line\"\n    />\n  );\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/sleuth-io/sx/blob/153b266ca1100e04d21346b7af558a99bd53e476/app/frontend/src/components/MarkdownEditor.tsx#L39-L76",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F192"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40uiw/react-codemirror%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F176"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import CodeMirror from '@uiw/react-codemirror'\nimport { markdown } from '@codemirror/lang-markdown'\n\nexport default function App() {\n  return <CodeMirror value=\"# Hello\" extensions={[markdown()]} />\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/uiwjs/react-codemirror/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F181"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "mdxeditor",
          "name": [
            {
              "t": "fact",
              "fact": "F195"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/mdx-editor/editor"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@mdxeditor/editor"
            },
            {
              "label": "Docs",
              "href": "https://mdxeditor.dev/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F13"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://mdxeditor.dev/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F195"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F21"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/browseros-ai/BrowserOS",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F209"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "export const MarkdownEditor = ({\n  value,\n  onChange,\n  placeholder,\n  className,\n  autoFocus,\n  readOnly,\n  onKeyDown,\n  id,\n}: MarkdownEditorProps) => {\n  const editorRef = useRef<MDXEditorMethods>(null)\n  const plugins = usePlugins(readOnly)\n\n  const lastSetMarkdown = useRef(value)\n\n  useEffect(() => {\n    if (lastSetMarkdown.current === value) return\n    const current = editorRef.current?.getMarkdown() ?? ''\n    if (current !== value) {\n      lastSetMarkdown.current = value\n      editorRef.current?.setMarkdown(value)\n    }\n  }, [value])\n\n  const handlePaste = (e: React.ClipboardEvent<HTMLDivElement>) => {\n    const text = e.clipboardData.getData('text/plain')\n    if (!text) return\n\n    const markdownPattern =\n      /^#{1,6}\\s|^\\s*[-*+]\\s|^\\s*\\d+\\.\\s|\\*\\*.+\\*\\*|__.+__|\\[.+\\]\\(.+\\)|^>/m\n    if (!markdownPattern.test(text)) return\n\n    e.preventDefault()\n    e.stopPropagation()\n    editorRef.current?.insertMarkdown(text)\n  }\n\n  return (\n    <div id={id} className={cn('mdx-editor-outer', className)}>\n      {/* biome-ignore lint/a11y/noStaticElementInteractions: onKeyDown/onPasteCapture forwarding */}\n      <div\n        className=\"mdx-editor-themed\"\n        onKeyDown={onKeyDown}\n        onPasteCapture={handlePaste}\n      >\n        <MDXEditor\n          ref={editorRef}\n          markdown={value}\n          onChange={onChange}\n          placeholder={placeholder}\n          plugins={plugins}\n          autoFocus={autoFocus}\n          readOnly={readOnly}\n          contentEditableClassName=\"mdx-content-editable prose prose-sm max-w-none dark:prose-invert\"\n        />\n      </div>\n      <div className=\"mdx-copy-bar\">\n        <CopyMarkdownButton editorRef={editorRef} />\n      </div>\n    </div>\n  )\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/browseros-ai/BrowserOS/blob/8144160a4e9c4da34eb8def0a2bc767f786e80b6/packages/browseros-agent/apps/app/components/ui/MarkdownEditor.tsx#L100-L161",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F208"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20%40mdxeditor/editor%20for%20React%20Markdown%20editing%20with%20lifecycle%2C%20preview%20and%20content%20saving&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F195"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { MDXEditor } from '@mdxeditor/editor';\nimport '@mdxeditor/editor/style.css';\nexport default function App() {\n  return <MDXEditor markdown='Hello world' />;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://mdxeditor.dev/editor/docs/getting-started",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F200"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "uiw-markdown-editor",
          "name": [
            {
              "t": "fact",
              "fact": "F211"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/uiwjs/react-md-editor"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@uiw/react-md-editor"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F33"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/uiwjs/react-md-editor",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F211"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F34"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F35"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F36"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F37"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import React from 'react'\nimport MDEditor from '@uiw/react-md-editor'\n\nexport default function App() {\n  const [value, setValue] = React.useState('# Hello')\n  return <MDEditor value={value} onChange={setValue} />\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/uiwjs/react-md-editor/blob/master/core/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20%40uiw/react-md-editor%20for%20React%20Markdown%20editing%20with%20lifecycle%2C%20preview%20and%20content%20saving&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F211"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F216"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "blocknote-react",
          "name": [
            {
              "t": "fact",
              "fact": "F223"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/TypeCellOS/BlockNote"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@blocknote/react"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F230"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/TypeCellOS/BlockNote",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F223"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/langchain-ai/open-canvas",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F241"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "jsx",
              "code": "() => {\n    const selectedText = editor.getSelectedText();\n    const selection = editor.getSelection();\n\n    if (selectedText && selection) {\n      if (!artifact) {\n        console.error(\"Artifact not found\");\n        return;\n      }\n\n      const currentBlockIdx = artifact.currentIndex;\n      const currentContent = artifact.contents.find(\n        (c) => c.index === currentBlockIdx\n      );\n      if (!currentContent) {\n        console.error(\"Current content not found\");\n        return;\n      }\n      if (!isArtifactMarkdownContent(currentContent)) {\n        console.error(\"Current content is not markdown\");\n        return;\n      }\n\n      (async () => {\n        const [markdownBlock, fullMarkdown] = await Promise.all([\n          editor.blocksToMarkdownLossy(selection.blocks),\n          editor.blocksToMarkdownLossy(editor.document),\n        ]);\n        setSelectedBlocks({\n          fullMarkdown: cleanText(fullMarkdown),\n          markdownBlock: cleanText(markdownBlock),\n          selectedText: cleanText(selectedText),\n        });\n      })();\n    }\n  }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/langchain-ai/open-canvas/blob/0310cecd51f31b3d37a52d6d1060137da3405280/apps/web/src/components/artifacts/TextRenderer.tsx#L80-L115",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40blocknote/react%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F223"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "jsx",
              "code": "import { useCreateBlockNote } from '@blocknote/react';\nimport { BlockNoteView } from '@blocknote/mantine';\nimport '@blocknote/core/fonts/inter.css';\nimport '@blocknote/mantine/style.css';\nexport default function App() {\n  const editor = useCreateBlockNote();\n  return <BlockNoteView editor={editor} />;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://www.blocknotejs.org/docs/getting-started",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F228"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "tinymce-tinymce-react",
          "name": [
            {
              "t": "fact",
              "fact": "F243"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/tinymce/tinymce-react"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@tinymce/tinymce-react"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F250"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.npmjs.com/package/@tinymce/tinymce-react",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F243"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { Editor } from '@tinymce/tinymce-react'\n\nexport default function App() {\n  return <Editor apiKey=\"your-api-key\" init={{ plugins: 'markdown' }} initialValue=\"<p>Hello</p>\" />\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://www.tiny.cloud/docs/tinymce/latest/react-ref/",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40tinymce/tinymce-react%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F243"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F248"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which React Markdown editor library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#mdxeditor",
          "label": [
            {
              "t": "text",
              "text": "@mdxeditor/editor"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits formatted Markdown editing with embedded JSX components. "
        },
        {
          "t": "link",
          "href": "#uiw-markdown-editor",
          "label": [
            {
              "t": "text",
              "text": "@uiw/react-md-editor"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits source editing beside a live preview. "
        },
        {
          "t": "link",
          "href": "#tiptap-react",
          "label": [
            {
              "t": "text",
              "text": "@tiptap/react"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits rich text editors built from Tiptap components."
        }
      ]
    },
    {
      "q": "What is BlockNote?",
      "a": [
        {
          "t": "link",
          "href": "#blocknote-react",
          "label": [
            {
              "t": "text",
              "text": "@blocknote/react"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a Notion-style, block-based, extensible text editor built on ProseMirror and Tiptap."
        }
      ]
    },
    {
      "q": "What is MDXEditor?",
      "a": [
        {
          "t": "link",
          "href": "#mdxeditor",
          "label": [
            {
              "t": "text",
              "text": "@mdxeditor/editor"
            }
          ]
        },
        {
          "t": "text",
          "text": " provides formatted Markdown editing with optional JSX component editors. It renders only on the client."
        }
      ]
    },
    {
      "q": "Is @uiw/react-md-editor safe for untrusted Markdown?",
      "a": [
        {
          "t": "text",
          "text": "Only with rehype-sanitize added. Untrusted Markdown needs sanitizing before "
        },
        {
          "t": "link",
          "href": "#uiw-markdown-editor",
          "label": [
            {
              "t": "text",
              "text": "@uiw/react-md-editor"
            }
          ]
        },
        {
          "t": "text",
          "text": " renders it."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, @mdxeditor/editor",
      "display": "MDXEditor",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, @mdxeditor/editor",
      "display": "7.5M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, @mdxeditor/editor",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, @mdxeditor/editor",
      "display": "4.5.0",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, @mdxeditor/editor",
      "display": "v4.5.0",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, @mdxeditor/editor",
      "display": "3.7K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Formatted editing, @mdxeditor/editor",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Tables, @mdxeditor/editor",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Image insertion, @mdxeditor/editor",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Custom toolbars, @mdxeditor/editor",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Output formats, @mdxeditor/editor",
      "display": "Markdown",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "Install, @mdxeditor/editor",
      "display": "npm install @mdxeditor/editor",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "What it does, @mdxeditor/editor",
      "display": "Provides formatted Markdown editing with optional JSX component editors.",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths lead, @mdxeditor/editor",
      "display": "Edits Markdown as formatted content",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths, @mdxeditor/editor",
      "display": "Authors edit documents naturally, with headings, tables, and images.",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths lead, @mdxeditor/editor",
      "display": "Edits embedded JSX components",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "strengths, @mdxeditor/editor",
      "display": "Use the built-in JSX editor or supply a custom one.",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations lead, @mdxeditor/editor",
      "display": "Requires client rendering",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations, @mdxeditor/editor",
      "display": "Render the editor and initialize its plugins only on the client.",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations lead, @mdxeditor/editor",
      "display": "External updates need a ref",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "limitations, @mdxeditor/editor",
      "display": "Call setMarkdown to change content after the initial value.",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Quickstart, @mdxeditor/editor",
      "display": "import {MDXEditor, headingsPlugin} from '@mdxeditor/editor';\nimport '@mdxeditor/editor/style.css';\n\nexport default function App() {\n  return <MDXEditor markdown={'# Hello World'} plugins={[headingsPlugin()]} />;\n}\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Library name, @uiw/react-md-editor",
      "display": "UIW Markdown Editor",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Monthly downloads, @uiw/react-md-editor",
      "display": "4.1M",
      "asOf": "2026-11-15"
    },
    "F25": {
      "label": "License, @uiw/react-md-editor",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Package release, @uiw/react-md-editor",
      "display": "4.2.3",
      "asOf": "2026-11-17"
    },
    "F27": {
      "label": "Undated package release, @uiw/react-md-editor",
      "display": "v4.2.3",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Repository stars, @uiw/react-md-editor",
      "display": "2.9K",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Tables, @uiw/react-md-editor",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Image insertion, @uiw/react-md-editor",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Custom toolbars, @uiw/react-md-editor",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Install, @uiw/react-md-editor",
      "display": "npm install @uiw/react-md-editor",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "What it does, @uiw/react-md-editor",
      "display": "Provides a React Markdown text editor with syntax highlighting and preview.",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "strengths lead, @uiw/react-md-editor",
      "display": "Edits source beside its preview",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "strengths, @uiw/react-md-editor",
      "display": "Use the editor and Markdown preview with shared React state.",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "strengths lead, @uiw/react-md-editor",
      "display": "Supports custom toolbar commands",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "strengths, @uiw/react-md-editor",
      "display": "Supply commands to customize the editing toolbar.",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "limitations lead, @uiw/react-md-editor",
      "display": "Untrusted content needs sanitizing",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "limitations, @uiw/react-md-editor",
      "display": "Add rehype-sanitize when Markdown authors cannot be trusted.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "limitations lead, @uiw/react-md-editor",
      "display": "Next.js needs client rendering",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "limitations, @uiw/react-md-editor",
      "display": "Load the editor dynamically with server rendering disabled.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "Quickstart, @uiw/react-md-editor",
      "display": "import React from \"react\";\nimport MDEditor from '@uiw/react-md-editor';\n\nexport default function App() {\n  const [value, setValue] = React.useState(\"**Hello world!!!**\");\n  return (\n    <div className=\"container\">\n      <MDEditor\n        value={value}\n        onChange={setValue}\n      />\n      <MDEditor.Markdown source={value} style={{ whiteSpace: 'pre-wrap' }} />\n    </div>\n  );\n}\n",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "Project function, @uiw/react-md-editor",
      "display": "export default function Markdown({\n  value,\n  onChange,\n  onSubmit,\n  disabled,\n}: ISideDrawerFieldProps) {\n  const theme = useTheme();\n\n  if (disabled)\n    return (\n      <Box\n        sx={[fieldSx, { display: \"block\", maxHeight: 300, overflow: \"auto\" }]}\n        data-color-mode={theme.palette.mode}\n      >\n        <MDEditor.Markdown\n          source={value}\n          style={{ backgroundColor: theme.palette.background.paper }}\n        />\n      </Box>\n    );\n\n  return (\n    <Box\n      sx={[\n        fieldSx,\n        {\n          display: \"block\",\n          padding: 0,\n          \"& .wmde-markdown-var\": { boxShadow: (fieldSx as any)?.boxShadow },\n        },\n      ]}\n      data-color-mode={theme.palette.mode}\n    >\n      <MDEditor\n        style={{ backgroundColor: theme.palette.background.paper }}\n        height={300}\n        value={value}\n        onChange={onChange}\n        onBlur={onSubmit}\n      />\n    </Box>\n  );\n}\n",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "Project function reference, @uiw/react-md-editor",
      "display": "SideDrawerField.tsx · Markdown()",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "Project repository, @uiw/react-md-editor",
      "display": "buildship-ai/rowy",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Project stars, buildship-ai/rowy",
      "display": "6.8K",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project push date, buildship-ai/rowy",
      "display": "Nov 2024",
      "asOf": "2024-11-23"
    },
    "F48": {
      "label": "Library name, @milkdown/react",
      "display": "Milkdown React",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Monthly downloads, @milkdown/react",
      "display": "1.4M",
      "asOf": "2026-11-15"
    },
    "F50": {
      "label": "License, @milkdown/react",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Package release, @milkdown/react",
      "display": "7.23.0",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Undated package release, @milkdown/react",
      "display": "v7.23.0",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Repository stars, @milkdown/react",
      "display": "12.1K",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Formatted editing, @milkdown/react",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Tables, @milkdown/react",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Image insertion, @milkdown/react",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Custom toolbars, @milkdown/react",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Output formats, @milkdown/react",
      "display": "Markdown",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Install, @milkdown/react",
      "display": "npm install @milkdown/crepe @milkdown/react @milkdown/kit",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "What it does, @milkdown/react",
      "display": "Connects React components and hooks to Crepe or the core Milkdown editor.",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "strengths lead, @milkdown/react",
      "display": "Provides dedicated React hooks",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "strengths, @milkdown/react",
      "display": "Integrate the editor through React components and hooks.",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "strengths lead, @milkdown/react",
      "display": "Offers a ready-made editor",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "strengths, @milkdown/react",
      "display": "Use Crepe for a feature-rich formatted Markdown editor.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "limitations lead, @milkdown/react",
      "display": "Requires separate editor packages",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "limitations, @milkdown/react",
      "display": "Install Crepe or configure the core editor alongside React bindings.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "limitations lead, @milkdown/react",
      "display": "Instance access needs a provider",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "limitations, @milkdown/react",
      "display": "Call useInstance inside a child of MilkdownProvider.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "Quickstart, @milkdown/react",
      "display": "import { Crepe } from '@milkdown/crepe'\nimport { Milkdown, MilkdownProvider, useEditor } from '@milkdown/react'\n\nconst CrepeEditor: React.FC = () => {\n  const { get } = useEditor((root) => {\n    return new Crepe({ root })\n  })\n\n  return <Milkdown />\n}\n\nexport const MilkdownEditorWrapper: React.FC = () => {\n  return (\n    <MilkdownProvider>\n      <CrepeEditor />\n    </MilkdownProvider>\n  )\n}\n",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "Project function, @milkdown/react",
      "display": "function LightMdEditor(props: LightMdEditorProps) {\n  const { defaultContent, placeholder } = props;\n\n  const { currentDirectory } = useDirectoryContentContext();\n  const { currentLocation } = useCurrentLocationContext();\n  const { openLink } = useOpenedEntryContext();\n  const crepeRef = useRef<Crepe | null>(null);\n\n  const { get, loading } = useEditor(\n    (root) => {\n      const crepe = createCrepeEditor(\n        root,\n        defaultContent,\n        false,\n        {\n          [Crepe.Feature.BlockEdit]: false,\n          [Crepe.Feature.Toolbar]: false,\n          [Crepe.Feature.Placeholder]: false,\n          [Crepe.Feature.Cursor]: false,\n        },\n        placeholder,\n        currentDirectory?.path,\n        openLink,\n        undefined,\n        undefined,\n        currentLocation?.uuid,\n      );\n      crepe.editor.onStatusChange((status: EditorStatus) => {\n        if (status === EditorStatus.Created) {\n          crepeRef.current = crepe;\n        }\n      });\n      return crepe;\n    },\n    // Recreate the editor only when the link resolution context changes —\n    // location id, current folder path, or readonly options. Content updates\n    // are handled imperatively in the effect below so the editor instance is\n    // stable across folder switches.\n    [currentDirectory?.path, currentLocation?.uuid],\n  );\n\n  // Imperatively push new defaultContent into the editor when it changes\n  // (e.g. user navigates to a different folder, or directoryMeta finishes\n  // loading after the editor mounted).\n  useEffect(() => {\n    const editor = get();\n    if (\n      loading ||\n      !editor ||\n      editor.status !== EditorStatus.Created ||\n      !crepeRef.current\n    ) {\n      return;\n    }\n    try {\n      const currentMd = editor.action(getMarkdown());\n      if (currentMd !== defaultContent) {\n        editor.action(replaceAll(defaultContent || '', true));\n      }\n    } catch (e) {\n      // Editor may not be fully ready; ignore.\n    }\n  }, [defaultContent, get, loading]);\n\n  return <Milkdown />;\n}\n",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Project function reference, @milkdown/react",
      "display": "LigthMdEditor.tsx · LightMdEditor()",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Project repository, @milkdown/react",
      "display": "tagspaces/tagspaces",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project stars, tagspaces/tagspaces",
      "display": "5.4K",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project push date, tagspaces/tagspaces",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F75": {
      "label": "Library name, react-markdown-editor-lite",
      "display": "React Markdown Editor Lite",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Monthly downloads, react-markdown-editor-lite",
      "display": "263.9K",
      "asOf": "2026-11-15"
    },
    "F77": {
      "label": "License, react-markdown-editor-lite",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Package release, react-markdown-editor-lite",
      "display": "1.4.2",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Undated package release, react-markdown-editor-lite",
      "display": "v1.4.2",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Repository stars, react-markdown-editor-lite",
      "display": "1.1K",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Tables, react-markdown-editor-lite",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Image insertion, react-markdown-editor-lite",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Custom toolbars, react-markdown-editor-lite",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Output formats, react-markdown-editor-lite",
      "display": "HTML",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Install, react-markdown-editor-lite",
      "display": "npm install react-markdown-editor-lite markdown-it",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "What it does, react-markdown-editor-lite",
      "display": "Combines Markdown source editing with an application-provided HTML preview renderer.",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths lead, react-markdown-editor-lite",
      "display": "Accepts your Markdown parser",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths, react-markdown-editor-lite",
      "display": "Choose the renderer supplied through renderHTML.",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths lead, react-markdown-editor-lite",
      "display": "Supports custom toolbar plugins",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "strengths, react-markdown-editor-lite",
      "display": "Register plugins and choose their order in the toolbar.",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations lead, react-markdown-editor-lite",
      "display": "Requires a preview renderer",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "limitations, react-markdown-editor-lite",
      "display": "Provide renderHTML to turn Markdown into the preview.",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "limitations lead, react-markdown-editor-lite",
      "display": "Async previews can lag text",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "limitations, react-markdown-editor-lite",
      "display": "onChange can return text and HTML from different rendering states.",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Quickstart, react-markdown-editor-lite",
      "display": "// import react, react-markdown-editor-lite, and a markdown parser you like\nimport React from 'react';\nimport MarkdownIt from 'markdown-it';\nimport MdEditor from 'react-markdown-editor-lite';\n// import style manually\nimport 'react-markdown-editor-lite/lib/index.css';\n\n// Register plugins if required\n// MdEditor.use(YOUR_PLUGINS_HERE);\n\n// Initialize a markdown parser\nconst mdParser = new MarkdownIt(/* Markdown-it options */);\n\n// Finish!\nfunction handleEditorChange({ html, text }) {\n  console.log('handleEditorChange', html, text);\n}\nexport default props => {\n  return (\n    <MdEditor style={{ height: '500px' }} renderHTML={text => mdParser.render(text)} onChange={handleEditorChange} />\n  );\n};\n",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Project function, react-markdown-editor-lite",
      "display": "export function MarkdownNote(props: MarkdownNote): JSX.Element {\n  const editorRef = useRef<MdEditor | null>(null)\n  const isDark = isDarkTheme()\n\n  const saveRef = useRef(props.saveText)\n\n  useEffect(() => {\n    saveRef.current = props.saveText\n  }, [props])\n\n  const debouncedSave = useMemo<(text: string) => void>(() => {\n    const func = (text: string) => {\n      saveRef.current?.(text)\n    }\n    return throttle(func, 3000)\n  }, [])\n\n  const handleEditorChange = useCallback(\n    (\n      data: { text: string; html: string },\n      event?: ChangeEvent<HTMLTextAreaElement> | undefined\n    ) => {\n      props.setText(data.text)\n      if (event) {\n        event.preventDefault()\n      }\n\n      debouncedSave(data.text)\n    },\n    []\n  )\n\n  useEffect(() => {\n    const saveMarkdownNote = () => {\n      const md = editorRef.current?.getMdValue()\n      if (md) {\n        props.saveText(md)\n      }\n    }\n    document.addEventListener('saveMarkdownNote', saveMarkdownNote)\n    return () => {\n      document.removeEventListener('saveMarkdownNote', saveMarkdownNote)\n    }\n  }, [props, editorRef])\n\n  return (\n    <VStack\n      css={{\n        width: '100%',\n        ...RcEditorStyles(isDark, true),\n      }}\n      onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => {\n        if (event.code.toLowerCase() === 'escape') {\n          event.preventDefault()\n          event.stopPropagation()\n        }\n      }}\n    >\n      <MdEditor\n        key=\"note-editor\"\n        ref={editorRef}\n        value={props.text}\n        placeholder={props.placeHolder}\n        view={{ menu: true, md: true, html: false }}\n        canView={{\n          menu: true,\n          md: true,\n          html: true,\n          both: false,\n          fullScreen: false,\n          hideMenu: false,\n        }}\n        plugins={[\n          'tab-insert',\n          'header',\n          'font-bold',\n          'font-italic',\n          'font-underline',\n          'font-strikethrough',\n          'list-unordered',\n          'list-ordered',\n          'block-quote',\n          'link',\n          'auto-resize',\n          'mode-toggle',\n          'save',\n        ]}\n        style={{\n          width: '100%',\n          height: props.isExpanded ? '360px' : '180px',\n        }}\n        renderHTML={(text: string) => mdParser.render(text)}\n        onChange={handleEditorChange}\n      />\n    </VStack>\n  )\n}\n",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Project function reference, react-markdown-editor-lite",
      "display": "ArticleNotes.tsx · MarkdownNote()",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Project repository, react-markdown-editor-lite",
      "display": "omnivore-app/omnivore",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Project stars, omnivore-app/omnivore",
      "display": "16.4K",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Project push date, omnivore-app/omnivore",
      "display": "Nov 2026",
      "asOf": "2026-11-14"
    },
    "F101": {
      "label": "Developer need",
      "display": "Editing source beside a preview",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Why choose @uiw/react-md-editor",
      "display": "shared controlled editor and preview state",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need in introduction",
      "display": "editing source beside a preview",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "When to consider @mdxeditor/editor",
      "display": "authors should edit formatted content",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need",
      "display": "Editing JSX inside Markdown",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Why choose @mdxeditor/editor",
      "display": "built-in or custom JSX editors",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need in introduction",
      "display": "editing JSX inside Markdown",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need",
      "display": "Choosing a preview parser",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Why choose react-markdown-editor-lite",
      "display": "application-provided renderHTML",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need in introduction",
      "display": "choosing a preview parser",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "When to consider @milkdown/react",
      "display": "a ready-made formatted editor is preferred",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Developer need",
      "display": "Integrating a ready-made formatted editor",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "Why choose @milkdown/react",
      "display": "the separate Crepe editor",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "Developer need in introduction",
      "display": "integrating a ready-made formatted editor",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "Page introduction",
      "display": "React Markdown editor libraries let web developers build Markdown editing interfaces.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: How does formatted editing differ from a Markdown preview?",
      "display": "MDXEditor lets authors edit documents naturally and includes editors for embedded JSX.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: How does formatted editing differ from a Markdown preview?",
      "display": "UIW can bind a source editor and a separate Markdown preview to the same React state.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Which editor supports JSX components within Markdown?",
      "display": "MDXEditor supports a built-in JSX editor or an application-supplied editor.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Can MDXEditor render on the server?",
      "display": "MDXEditor requires client-side rendering and client-side plugin initialization.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: How is MDXEditor content changed after initialization?",
      "display": "The markdown prop acts like defaultValue; use the setMarkdown ref method for later updates.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Does MDXEditor support HTML tables?",
      "display": "Its table plugin supports GFM Markdown tables; HTML tables are explicitly unsupported.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: How are MDXEditor toolbars customized?",
      "display": "Arrange the provided toolbar components or add custom components, enabling their required plugins.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Does UIW sanitize untrusted Markdown automatically?",
      "display": "UIW instructs applications to sanitize Markdown from untrusted authors, for example with rehype-sanitize.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: How is UIW loaded in Next.js?",
      "display": "The own Next.js example loads the editor dynamically with ssr disabled.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Does React Markdown Editor Lite include the preview parser?",
      "display": "Applications provide the required renderHTML callback; it supports HTML or React elements from a chosen parser.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Can asynchronous preview rendering return mismatched content?",
      "display": "Lite states that onChange text and HTML can differ when renderHTML runs asynchronously.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: What is installed alongside Milkdown React?",
      "display": "The Crepe integration installs @milkdown/crepe, @milkdown/react, and @milkdown/kit.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: What is installed alongside Milkdown React?",
      "display": "The core Milkdown editor is another option when full editor configuration is needed.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: Where can Milkdown useInstance be called?",
      "display": "Call useInstance only in components inside MilkdownProvider; it supplies loading state and an instance getter.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "Library name, @tiptap/react",
      "display": "@tiptap/react",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "Monthly downloads, @tiptap/react",
      "display": "112.3M",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "License, @tiptap/react",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Package release, @tiptap/react",
      "display": "3.34.0",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Package release date, @tiptap/react",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Install, @tiptap/react",
      "display": "npm install @tiptap/react @tiptap/pm @tiptap/starter-kit @tiptap/markdown",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Quickstart, @tiptap/react",
      "display": "import { EditorContent, useEditor } from '@tiptap/react'\nimport StarterKit from '@tiptap/starter-kit'\nimport { Markdown } from '@tiptap/markdown'\n\nexport default function App() {\n  const editor = useEditor({ extensions: [StarterKit, Markdown], content: '# Hello', contentType: 'markdown' })\n  return <EditorContent editor={editor} />\n}\n",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Official description, @tiptap/react",
      "display": "Provides React components for Tiptap.",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Quickstart source file, @tiptap/react",
      "display": "basic-usage",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Repository stars, @tiptap/react",
      "display": "39.1K",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Formatted editing, @tiptap/react",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Supplied toolbar, @tiptap/react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Markdown editing layer, @tiptap/react",
      "display": "Headless formatted editor with official separate Markdown extension; native Markdown parse,insert,and string serialization.",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "First-call setup, @tiptap/react",
      "display": "React browser/client component with ProseMirror peers and official Markdown extension. Next/SSR additionally requires client-only lifecycle and appropriate immediatelyRender setting; this is the browser starter,not a universal SSR recipe. Package install command assembles official React and Markdown setup packages.",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Library name, @monaco-editor/react",
      "display": "@monaco-editor/react",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Monthly downloads, @monaco-editor/react",
      "display": "38.6M",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "License, @monaco-editor/react",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Package release, @monaco-editor/react",
      "display": "4.7.0",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Package release date, @monaco-editor/react",
      "display": "Feb 2025",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Install, @monaco-editor/react",
      "display": "npm install @monaco-editor/react",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Quickstart, @monaco-editor/react",
      "display": "import Editor from '@monaco-editor/react'\n\nexport default function App() {\n  return <Editor height=\"300px\" defaultLanguage=\"markdown\" defaultValue=\"# Hello\" />\n}\n",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Official description, @monaco-editor/react",
      "display": "Uses the Monaco editor in any React application without webpack or other bundler configuration files.",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Quickstart source file, @monaco-editor/react",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Repository stars, @monaco-editor/react",
      "display": "4.8K",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Formatted editing, @monaco-editor/react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Supplied toolbar, @monaco-editor/react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Markdown editing layer, @monaco-editor/react",
      "display": "Markdown source editing with Monaco language services; rendered preview and Markdown formatting toolbar are application integrations.",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "First-call setup, @monaco-editor/react",
      "display": "React browser component; default loader downloads Monaco from CDN unless configured for self-hosting. Container needs explicit height. Native Markdown syntax editor,not formatted editing or a supplied rendered preview.",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Library name, @lexical/react",
      "display": "@lexical/react",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Monthly downloads, @lexical/react",
      "display": "30.7M",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "License, @lexical/react",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Package release, @lexical/react",
      "display": "0.53.0",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Package release date, @lexical/react",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Install, @lexical/react",
      "display": "npm install react react-dom lexical@0.53.0 @lexical/react@0.53.0 @lexical/rich-text@0.53.0",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Quickstart, @lexical/react",
      "display": "import { LexicalExtensionComposer } from '@lexical/react/LexicalExtensionComposer';\nimport { RichTextExtension } from '@lexical/rich-text';\nimport { defineExtension } from 'lexical';\nconst extension = defineExtension({ name: 'example', namespace: 'example', dependencies: [RichTextExtension] });\nexport default function App() {\n  return <LexicalExtensionComposer extension={extension} />;\n}\n",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Official description, @lexical/react",
      "display": "Provides Lexical components and hooks for React applications.",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Quickstart source file, @lexical/react",
      "display": "dist/LexicalExtensionComposer.d.ts + getting-started/react (API recipe)",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Repository stars, @lexical/react",
      "display": "24.0K",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Formatted editing, @lexical/react",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Supplied toolbar, @lexical/react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Markdown editing layer, @lexical/react",
      "display": "Composable formatted React editor; official @lexical/markdown supplies conversion/shortcuts,with schema/node registration and active editor context.",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "First-call setup, @lexical/react",
      "display": "All Lexical packages same0.53.0. Stable module-scoped extension prevents recreating editor on every render; composer supplies default ContentEditable unless null is passed. No custom theme,toolbar,history,or remote service needed for first editable instance.",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Project function, @lexical/react",
      "display": "export const LexicalEditor: React.FC<\n  {\n    editorContainerRef: React.RefObject<HTMLDivElement | null>\n    isSmallWidthViewport: boolean\n  } & Pick<LexicalProviderProps, 'editorConfig' | 'onChange' | 'rtl'>\n> = (props) => {\n  const { editorConfig, editorContainerRef, isSmallWidthViewport, onChange, rtl } = props\n  const editorConfigContext = useEditorConfigContext()\n  const [editor] = useLexicalComposerContext()\n  const isEditable = useLexicalEditable()\n  const { t } = useTranslation<Record<string, never>, string>()\n  const instructionsID = React.useId()\n  const hasTabIndentation = isEditable && editorConfig.features.enabledFeatures.includes('indent')\n\n  const [floatingAnchorElem, setFloatingAnchorElem] = useState<HTMLDivElement | null>(null)\n  const onRef = (_floatingAnchorElem: HTMLDivElement) => {\n    if (_floatingAnchorElem !== null) {\n      setFloatingAnchorElem(_floatingAnchorElem)\n    }\n  }\n\n  useEffect(() => {\n    if (!editorConfigContext?.uuid) {\n      console.error('Lexical Editor must be used within an EditorConfigProvider')\n      return\n    }\n    if (editorConfigContext?.parentEditor?.uuid) {\n      editorConfigContext.parentEditor?.registerChild(editorConfigContext.uuid, editorConfigContext)\n    }\n\n    const handleFocus = () => {\n      editorConfigContext.focusEditor(editorConfigContext)\n    }\n\n    const handleBlur = () => {\n      editorConfigContext.blurEditor(editorConfigContext)\n    }\n\n    const unregisterFocus = editor.registerCommand(\n      FOCUS_COMMAND,\n      () => {\n        handleFocus()\n        return true\n      },\n      COMMAND_PRIORITY_LOW,\n    )\n\n    const unregisterBlur = editor.registerCommand(\n      BLUR_COMMAND,\n      () => {\n        handleBlur()\n        return true\n      },\n      COMMAND_PRIORITY_LOW,\n    )\n\n    return () => {\n      unregisterFocus()\n      unregisterBlur()\n      editorConfigContext.parentEditor?.unregisterChild?.(editorConfigContext.uuid)\n    }\n  }, [editor, editorConfigContext])\n\n  return (\n    <React.Fragment>\n      {editorConfig.features.plugins?.map((plugin) => {\n        if (plugin.position === 'aboveContainer') {\n          return <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n        }\n      })}\n      <div className=\"editor-container\" dir={rtl ? 'rtl' : undefined} ref={editorContainerRef}>\n        {editorConfig.features.plugins?.map((plugin) => {\n          if (plugin.position === 'top') {\n            return (\n              <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n            )\n          }\n        })}\n        <RichTextPlugin\n          contentEditable={\n            <div className=\"editor-scroller\">\n              <div className=\"editor\" ref={onRef}>\n                <LexicalContentEditable\n                  editorConfig={editorConfig}\n                  instructionsID={hasTabIndentation ? instructionsID : undefined}\n                />\n              </div>\n            </div>\n          }\n          ErrorBoundary={LexicalErrorBoundary}\n        />\n        <NormalizeSelectionPlugin />\n        {isEditable && <InsertParagraphAtEndPlugin />}\n        <DecoratorPlugin />\n        <ClipboardPlugin />\n        <TextPlugin features={editorConfig.features} />\n        <SelectAllPlugin />\n        <NodeViewOverridePlugin />\n        {isEditable && (\n          <OnChangePlugin\n            // Selection changes can be ignored here, reducing the\n            // frequency that the FieldComponent and Payload receive updates.\n            // Selection changes are only needed if you are saving selection state\n            ignoreSelectionChange\n            onChange={(editorState, editor, tags) => {\n              // Ignore any onChange event triggered by focus only\n              if (!tags.has('focus') || tags.size > 1) {\n                if (onChange != null) {\n                  onChange(editorState, editor, tags)\n                }\n              }\n            }}\n          />\n        )}\n        {floatingAnchorElem && (\n          <React.Fragment>\n            {!isSmallWidthViewport && isEditable && (\n              <React.Fragment>\n                {editorConfig.admin?.hideDraggableBlockElement ? null : (\n                  <DraggableBlockPlugin anchorElem={floatingAnchorElem} />\n                )}\n                {editorConfig.admin?.hideAddBlockButton ? null : (\n                  <AddBlockHandlePlugin anchorElem={floatingAnchorElem} />\n                )}\n              </React.Fragment>\n            )}\n            {editorConfig.features.plugins?.map((plugin) => {\n              if (\n                plugin.position === 'floatingAnchorElem' &&\n                !(plugin.desktopOnly === true && isSmallWidthViewport)\n              ) {\n                return (\n                  <EditorPlugin\n                    anchorElem={floatingAnchorElem}\n                    clientProps={plugin.clientProps}\n                    key={plugin.key}\n                    plugin={plugin}\n                  />\n                )\n              }\n            })}\n            {isEditable && (\n              <React.Fragment>\n                <SlashMenuPlugin anchorElem={floatingAnchorElem} />\n              </React.Fragment>\n            )}\n          </React.Fragment>\n        )}\n        {isEditable && (\n          <React.Fragment>\n            <HistoryPlugin />\n            {editorConfig?.features?.markdownTransformers?.length > 0 && <MarkdownShortcutPlugin />}\n          </React.Fragment>\n        )}\n        {editorConfig.features.plugins?.map((plugin) => {\n          if (plugin.position === 'normal') {\n            return (\n              <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n            )\n          }\n        })}\n        {editorConfig.features.plugins?.map((plugin) => {\n          if (plugin.position === 'bottom') {\n            return (\n              <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n            )\n          }\n        })}\n      </div>\n      {hasTabIndentation && (\n        <p className=\"ContentEditable__keyboard-hint\" id={instructionsID}>\n          {t('lexical:indent:keyboardHint')}\n        </p>\n      )}\n      {editorConfig.features.plugins?.map((plugin) => {\n        if (plugin.position === 'belowContainer') {\n          return <EditorPlugin clientProps={plugin.clientProps} key={plugin.key} plugin={plugin} />\n        }\n      })}\n    </React.Fragment>\n  )\n}",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Project source file, @lexical/react",
      "display": "packages/richtext-lexical/src/lexical/LexicalEditor.tsx",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Project full_name, @lexical/react",
      "display": "payloadcms/payload",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Project stargazers_count, @lexical/react",
      "display": "45.9K",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Library name, @uiw/react-codemirror",
      "display": "@uiw/react-codemirror",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Monthly downloads, @uiw/react-codemirror",
      "display": "27.3M",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "License, @uiw/react-codemirror",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Package release, @uiw/react-codemirror",
      "display": "4.25.12",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Package release date, @uiw/react-codemirror",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Install, @uiw/react-codemirror",
      "display": "npm install @uiw/react-codemirror @codemirror/lang-markdown",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Quickstart, @uiw/react-codemirror",
      "display": "import CodeMirror from '@uiw/react-codemirror'\nimport { markdown } from '@codemirror/lang-markdown'\n\nexport default function App() {\n  return <CodeMirror value=\"# Hello\" extensions={[markdown()]} />\n}\n",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Official description, @uiw/react-codemirror",
      "display": "Provides a CodeMirror component for React.",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Quickstart source file, @uiw/react-codemirror",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Repository stars, @uiw/react-codemirror",
      "display": "2.3K",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Formatted editing, @uiw/react-codemirror",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Supplied toolbar, @uiw/react-codemirror",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Markdown editing layer, @uiw/react-codemirror",
      "display": "Markdown source editing through CodeMirror6 React bindings and official language extension; no bundled rendered-preview surface.",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "First-call setup, @uiw/react-codemirror",
      "display": "React browser component plus separately installed native Markdown language support. Basic syntax editing only; advanced fenced-code languages need language-data as shown by selected real project. No preview renderer included.",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Whole project API contract, @uiw/react-codemirror",
      "display": "{\"status\": \"verified\", \"arguments\": \"Whole38-line sleuth sx MarkdownEditor. Native React component receives string value,onChange,readOnly,onCreateEditor and native Markdown language extension with codeLanguages. EditorView.lineWrapping/theme belong to the separately identified CodeMirror6 view package,reexported by UIW. The actual UIW binding JSX mount is one selected-package operation; companion extension factory is not misrepresented as a second UIW method.\", \"return_shape\": \"onChange supplies value plus ViewUpdate; host callback intentionally consumes only value. onCreateEditor supplies EditorView,and optional onView callback receives it. Dark/light theme and browser matchMedia are application requirements. Markdown syntax and fenced-code highlighting do not provide rendered preview or Markdown-to-HTML export.\"}",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Project function, @uiw/react-codemirror",
      "display": "export default function MarkdownEditor({\n  value,\n  onChange,\n  readOnly = false,\n  onView,\n}: {\n  value: string;\n  onChange: (value: string) => void;\n  readOnly?: boolean;\n  /** Receives the live CodeMirror view (for the extension editor API). */\n  onView?: (view: EditorView) => void;\n}) {\n  const dark = usePrefersDark();\n  return (\n    <CodeMirror\n      value={value}\n      onChange={onChange}\n      readOnly={readOnly}\n      onCreateEditor={(view) => onView?.(view)}\n      theme={dark ? \"dark\" : \"light\"}\n      extensions={[\n        // codeLanguages lights up fenced code blocks (```go, ```ts, …)\n        // with each language's own grammar while editing.\n        markdown({ codeLanguages: languages }),\n        baseTheme,\n        EditorView.lineWrapping,\n      ]}\n      basicSetup={{\n        lineNumbers: true,\n        foldGutter: false,\n        highlightActiveLine: !readOnly,\n        highlightActiveLineGutter: !readOnly,\n      }}\n      height=\"100%\"\n      className=\"h-full overflow-hidden rounded-lg border border-line\"\n    />\n  );\n}\n",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Project source file, @uiw/react-codemirror",
      "display": "app/frontend/src/components/MarkdownEditor.tsx",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Project full_name, @uiw/react-codemirror",
      "display": "sleuth-io/sx",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Project stargazers_count, @uiw/react-codemirror",
      "display": "319",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Library name, @mdxeditor/editor",
      "display": "@mdxeditor/editor",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Monthly downloads, @mdxeditor/editor",
      "display": "7.7M",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "License, @mdxeditor/editor",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Package release, @mdxeditor/editor",
      "display": "4.5.0",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Package release date, @mdxeditor/editor",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Install, @mdxeditor/editor",
      "display": "npm install react react-dom @mdxeditor/editor",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Quickstart, @mdxeditor/editor",
      "display": "import { MDXEditor } from '@mdxeditor/editor';\nimport '@mdxeditor/editor/style.css';\nexport default function App() {\n  return <MDXEditor markdown='Hello world' />;\n}\n",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Repository stars, @mdxeditor/editor",
      "display": "3.7K",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Formatted editing, @mdxeditor/editor",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Supplied toolbar, @mdxeditor/editor",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Markdown editing layer, @mdxeditor/editor",
      "display": "Markdown-first formatted editor supporting embedded JSX and source/diff tooling through named plugins.",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "First-call setup, @mdxeditor/editor",
      "display": "React client-only component/CSS host. Bare paragraph first call; headings,lists,tables,or toolbar need configured optional plugins. SSR host should disable server rendering as own guide explains.",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Project function, @mdxeditor/editor",
      "display": "export const MarkdownEditor = ({\n  value,\n  onChange,\n  placeholder,\n  className,\n  autoFocus,\n  readOnly,\n  onKeyDown,\n  id,\n}: MarkdownEditorProps) => {\n  const editorRef = useRef<MDXEditorMethods>(null)\n  const plugins = usePlugins(readOnly)\n\n  const lastSetMarkdown = useRef(value)\n\n  useEffect(() => {\n    if (lastSetMarkdown.current === value) return\n    const current = editorRef.current?.getMarkdown() ?? ''\n    if (current !== value) {\n      lastSetMarkdown.current = value\n      editorRef.current?.setMarkdown(value)\n    }\n  }, [value])\n\n  const handlePaste = (e: React.ClipboardEvent<HTMLDivElement>) => {\n    const text = e.clipboardData.getData('text/plain')\n    if (!text) return\n\n    const markdownPattern =\n      /^#{1,6}\\s|^\\s*[-*+]\\s|^\\s*\\d+\\.\\s|\\*\\*.+\\*\\*|__.+__|\\[.+\\]\\(.+\\)|^>/m\n    if (!markdownPattern.test(text)) return\n\n    e.preventDefault()\n    e.stopPropagation()\n    editorRef.current?.insertMarkdown(text)\n  }\n\n  return (\n    <div id={id} className={cn('mdx-editor-outer', className)}>\n      {/* biome-ignore lint/a11y/noStaticElementInteractions: onKeyDown/onPasteCapture forwarding */}\n      <div\n        className=\"mdx-editor-themed\"\n        onKeyDown={onKeyDown}\n        onPasteCapture={handlePaste}\n      >\n        <MDXEditor\n          ref={editorRef}\n          markdown={value}\n          onChange={onChange}\n          placeholder={placeholder}\n          plugins={plugins}\n          autoFocus={autoFocus}\n          readOnly={readOnly}\n          contentEditableClassName=\"mdx-content-editable prose prose-sm max-w-none dark:prose-invert\"\n        />\n      </div>\n      <div className=\"mdx-copy-bar\">\n        <CopyMarkdownButton editorRef={editorRef} />\n      </div>\n    </div>\n  )\n}\n",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Project source file, @mdxeditor/editor",
      "display": "packages/browseros-agent/apps/app/components/ui/MarkdownEditor.tsx",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Project full_name, @mdxeditor/editor",
      "display": "browseros-ai/BrowserOS",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Project stargazers_count, @mdxeditor/editor",
      "display": "14.4K",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Library name, @uiw/react-md-editor",
      "display": "@uiw/react-md-editor",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Monthly downloads, @uiw/react-md-editor",
      "display": "4.2M",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "License, @uiw/react-md-editor",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Package release, @uiw/react-md-editor",
      "display": "4.2.4",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Package release date, @uiw/react-md-editor",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Install, @uiw/react-md-editor",
      "display": "npm i @uiw/react-md-editor",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Quickstart, @uiw/react-md-editor",
      "display": "import React from 'react'\nimport MDEditor from '@uiw/react-md-editor'\n\nexport default function App() {\n  const [value, setValue] = React.useState('# Hello')\n  return <MDEditor value={value} onChange={setValue} />\n}\n",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Repository stars, @uiw/react-md-editor",
      "display": "2.9K",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Formatted editing, @uiw/react-md-editor",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Supplied toolbar, @uiw/react-md-editor",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Markdown editing layer, @uiw/react-md-editor",
      "display": "Textarea-based Markdown source editor with preview and supplied commands; independent implementation from UIW CodeMirror-backed editor.",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "First-call setup, @uiw/react-md-editor",
      "display": "React browser/client environment; source plus preview included. Treat untrusted rendered Markdown separately with supported sanitization plugins; no safety policy or upload storage is inferred from the mount.",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Library name, @blocknote/react",
      "display": "@blocknote/react",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Monthly downloads, @blocknote/react",
      "display": "3.8M",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "License, @blocknote/react",
      "display": "MPL-2.0",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Package release, @blocknote/react",
      "display": "0.57.0",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Package release date, @blocknote/react",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Install, @blocknote/react",
      "display": "npm install react react-dom @blocknote/core @blocknote/react @blocknote/mantine @mantine/core @mantine/hooks @mantine/utils",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Quickstart, @blocknote/react",
      "display": "import { useCreateBlockNote } from '@blocknote/react';\nimport { BlockNoteView } from '@blocknote/mantine';\nimport '@blocknote/core/fonts/inter.css';\nimport '@blocknote/mantine/style.css';\nexport default function App() {\n  const editor = useCreateBlockNote();\n  return <BlockNoteView editor={editor} />;\n}\n",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Official description, @blocknote/react",
      "display": "Provides a Notion-style, block-based, extensible text editor built on ProseMirror and Tiptap.",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Quickstart source file, @blocknote/react",
      "display": "Getting Started (hosted API recipe)",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Repository stars, @blocknote/react",
      "display": "10.4K",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Formatted editing, @blocknote/react",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Supplied toolbar, @blocknote/react",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Markdown editing layer, @blocknote/react",
      "display": "Block-based editor with official lossy Markdown import/export; native JSON document is separate lossless persistence format.",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "First-call setup, @blocknote/react",
      "display": "Matched BlockNote0.57 packages and Mantine peers; client-only React host. Own recommended styled view/fonts/CSS included. No persistence,collaboration server,or XL plugin implied.",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Markdown round-trip boundary, @blocknote/react",
      "display": "Markdown export drops unsupported nesting/styles; native JSON retains full block model.",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Current external Markdown workflow, @blocknote/react",
      "display": "Exports selected blocks and the complete document as Markdown.",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Project function, @blocknote/react",
      "display": "() => {\n    const selectedText = editor.getSelectedText();\n    const selection = editor.getSelection();\n\n    if (selectedText && selection) {\n      if (!artifact) {\n        console.error(\"Artifact not found\");\n        return;\n      }\n\n      const currentBlockIdx = artifact.currentIndex;\n      const currentContent = artifact.contents.find(\n        (c) => c.index === currentBlockIdx\n      );\n      if (!currentContent) {\n        console.error(\"Current content not found\");\n        return;\n      }\n      if (!isArtifactMarkdownContent(currentContent)) {\n        console.error(\"Current content is not markdown\");\n        return;\n      }\n\n      (async () => {\n        const [markdownBlock, fullMarkdown] = await Promise.all([\n          editor.blocksToMarkdownLossy(selection.blocks),\n          editor.blocksToMarkdownLossy(editor.document),\n        ]);\n        setSelectedBlocks({\n          fullMarkdown: cleanText(fullMarkdown),\n          markdownBlock: cleanText(markdownBlock),\n          selectedText: cleanText(selectedText),\n        });\n      })();\n    }\n  }\n",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Project source file, @blocknote/react",
      "display": "apps/web/src/components/artifacts/TextRenderer.tsx",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Project full_name, @blocknote/react",
      "display": "langchain-ai/open-canvas",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Project stargazers_count, @blocknote/react",
      "display": "5.5K",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Library name, @tinymce/tinymce-react",
      "display": "@tinymce/tinymce-react",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Monthly downloads, @tinymce/tinymce-react",
      "display": "3.3M",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "License, @tinymce/tinymce-react",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Package release, @tinymce/tinymce-react",
      "display": "6.3.1",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Package release date, @tinymce/tinymce-react",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Install, @tinymce/tinymce-react",
      "display": "npm install @tinymce/tinymce-react",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Quickstart, @tinymce/tinymce-react",
      "display": "import { Editor } from '@tinymce/tinymce-react'\n\nexport default function App() {\n  return <Editor apiKey=\"your-api-key\" init={{ plugins: 'markdown' }} initialValue=\"<p>Hello</p>\" />\n}\n",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Official description, @tinymce/tinymce-react",
      "display": "Provides the official React component for the TinyMCE rich text editor.",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Quickstart source file, @tinymce/tinymce-react",
      "display": "react-ref",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Repository stars, @tinymce/tinymce-react",
      "display": "1.1K",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Formatted editing, @tinymce/tinymce-react",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Supplied toolbar, @tinymce/tinymce-react",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Markdown editing layer, @tinymce/tinymce-react",
      "display": "React wrapper around TinyMCE; actual Markdown paste,insert,and export require its official paid Markdown plugin.",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "First-call setup, @tinymce/tinymce-react",
      "display": "Requires paid TinyMCE Markdown plugin entitlement and suitable Tiny Cloud/API-key or licensed self-hosted engine setup. Placeholder API key is not a credential. Markdown paste/import/export is provided by premium plugin; base wrapper MIT license does not grant the paid plugin.",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Premium plugin and asynchronous export, @tinymce/tinymce-react",
      "display": "Base React wrapper MIT is separate from loaded TinyMCE engine and paid Markdown plugin entitlement. plugin.getContent returns Promise<string>; generic editor.getContent returns HTML unless otherwise configured.",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best React Markdown editor libraries UIW MDXEditor Milkdown react-markdown-editor-lite code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
