import { CodeHighlightNode, CodeNode, registerCodeHighlighting } from "@lexical/code";
import { defineExtension } from "lexical";
const CodeHighlightExtension = defineExtension({
    name: '@byline/richtext-lexical/CodeHighlight',
    nodes: ()=>[
            CodeNode,
            CodeHighlightNode
        ],
    register: (editor)=>registerCodeHighlighting(editor)
});
export { CodeHighlightExtension };
