'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('../../../../../../../node_modules/.pnpm/@tiptap_extension-code-block-lowlight@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@ti_2245ac34d84b5693aa60775b0f7781e3/node_modules/@tiptap/extension-code-block-lowlight/dist/index.cjs');
const index$1 = require('../../../../../../../node_modules/.pnpm/lowlight@3.3.0/node_modules/lowlight/lib/index.cjs');
const common = require('../../../../../../../node_modules/.pnpm/lowlight@3.3.0/node_modules/lowlight/lib/common.cjs');

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

exports.CodeBlockLowlight = CodeBlockLowlight;
exports.default = CodeBlockLowlight;
