import templateOnly from '@ember/component/template-only';
import { setComponentTemplate } from '@ember/component';
import { precompileTemplate } from '@ember/template-compilation';
import EuiCodeBlockComponent from '../eui-code-block.js';

const MarkdownCodeBlock = setComponentTemplate(precompileTemplate(`
    <EuiCodeBlock
      @paddingSize={{@node.paddingSize}}
      @fontSize={{@node.fontSize}}
      @language={{@node.language}}
      @isCopyable={{true}}
    >
      {{@node.content}}
    </EuiCodeBlock>
  `, {
  strictMode: true,
  scope: () => ({
    EuiCodeBlock: EuiCodeBlockComponent
  })
}), templateOnly("markdown-code-block", "MarkdownCodeBlock"));

export { MarkdownCodeBlock as default };
//# sourceMappingURL=markdown-code-block.js.map
