Trevixal API
    Preparing search index...
    • What copying a code block puts on the clipboard: its code, or for a terminal session only the commands, without their prompts, so a paste into a shell runs them and not what they printed. A command ending in `` goes on into the next line, which is copied with it. A session with no prompt at all is copied as it is.

      Parameters

      • code: string
      • language: unknown

      Returns string