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

const MarkdownCode = setComponentTemplate(precompileTemplate(`
    <EuiCode @language={{@node.language}}>
      {{@node.content}}
    </EuiCode>
  `, {
  strictMode: true,
  scope: () => ({
    EuiCode: EuiCodeComponent
  })
}), templateOnly("markdown-code", "MarkdownCode"));

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