class MacroNodeRenderer implements NodeRenderer {
    final private MacroOptions options;

    public MacroNodeRenderer(DataHolder options) {
        this.options = new MacroOptions(options);
    }

    @Override
    public Set<NodeRenderingHandler<?>> getNodeRenderingHandlers() {<FILL_FUNCTION_BODY>}

    private void render(Macro node, NodeRendererContext context, HtmlWriter html) {
        if (options.enableRendering) {
            html.text(Node.spanningChars(node.getOpeningMarker(), node.getClosingMarker()));
            context.renderChildren(node);
        }
    }

    private void render(MacroAttribute node, NodeRendererContext context, HtmlWriter html) {

    }

    private void render(MacroClose node, NodeRendererContext context, HtmlWriter html) {
        if (options.enableRendering) html.text(Node.spanningChars(node.getOpeningMarker(), node.getClosingMarker()));
    }

    private void render(MacroBlock node, NodeRendererContext context, HtmlWriter html) {
        if (options.enableRendering) context.renderChildren(node);
    }

    public static class Factory implements NodeRendererFactory {
        @NotNull
        @Override
        public NodeRenderer apply(@NotNull DataHolder options) {
            return new MacroNodeRenderer(options);
        }
    }
}

        HashSet<NodeRenderingHandler<?>> set = new HashSet<>();
        set.add(new NodeRenderingHandler<>(Macro.class, this::render));
        set.add(new NodeRenderingHandler<>(MacroAttribute.class, this::render));
        set.add(new NodeRenderingHandler<>(MacroClose.class, this::render));
        set.add(new NodeRenderingHandler<>(MacroBlock.class, this::render));
        return set;
    
<no_super_class>