import { CodeBlockLowlight as CodeBlockLowlight$1 } from '../../../../../../../node_modules/.pnpm/@tiptap_extension-code-block-lowlight@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@ti_360e739196c451ebf408f4af5a9f3f24/node_modules/@tiptap/extension-code-block-lowlight/dist/index.mjs';
import { createLowlight } from '../../../../../../../node_modules/.pnpm/lowlight@3.3.0/node_modules/lowlight/lib/index.mjs';
import { grammars } from '../../../../../../../node_modules/.pnpm/lowlight@3.3.0/node_modules/lowlight/lib/common.mjs';

const CodeBlockLowlight = CodeBlockLowlight$1.extend({
  addOptions() {
    return {
      ...this.parent?.(),
      lowlight: createLowlight(grammars),
      defaultLanguage: null,
      HTMLAttributes: {
        class: "block-node"
      },
      languageClassPrefix: "language-",
      exitOnTripleEnter: true,
      exitOnArrowDown: true,
      enableTabIndentation: false,
      tabSize: 4
    };
  }
});

export { CodeBlockLowlight, CodeBlockLowlight as default };
