Theia API Documentation v1.75.0
    Preparing search index...
    • Renders the hover content supplied by the history provider, if any.

      Providers own their hover: vscode.git, for example, sends the same content as the blame editor decoration hover, including the author mailto: link and the "Open Commit", "Copy Commit Hash" and remote (e.g. "Open on GitHub") command links. Rendering it verbatim keeps those actions working without the graph having to know any provider-specific command.

      Each section is rendered and wired separately so that a section only authorizes the commands declared in its own MarkdownString.isTrusted. Sections are rendered as given, without separators of our own: a provider that owns its hover also owns how its sections are delimited, and vscode.git for one already ends them with a horizontal rule.

      Parameters

      Returns undefined | HTMLElement

      the rendered element, or undefined if the provider supplied no usable content.