Trevixal API
    Preparing search index...
    interface CopyCodeButtonOptions {
        container?: HTMLElement;
        labels?: { copied?: string; failed?: string; idle?: string };
        nodeName?: string;
        resetDelay?: number;
    }
    Index
    container?: HTMLElement

    Where the buttons are appended. Must be a positioned ancestor of the editor surface (or share its offset parent). Each button is positioned absolutely within it. Defaults to the surface's own parent element.

    labels?: { copied?: string; failed?: string; idle?: string }

    Label text, overridable for localization.

    nodeName?: string

    Node type to decorate; "codeBlock" by default.

    resetDelay?: number

    How long the "Copied" / "Failed" state stays visible.