import { Node } from '../../node.js'

class PreventPermalinksContainerDirective extends Node {
  async render() {
    const content = await super.render();
    return `<!-- NO_PERMALINK_START -->\n${content}\n<!-- NO_PERMALINK_END -->`;
  }
}

PreventPermalinksContainerDirective.NAME = 'dsfr-doc-prevent-permalinks';

export { PreventPermalinksContainerDirective };
