code: def setup(app: Sphinx) -> dict[str, Any]:
      directives.register_directive("highlight", Highlight)
      directives.register_directive("code-block", CodeBlock)
      directives.register_directive("sourcecode", CodeBlock)
      directives.register_directive("literalinclude", LiteralInclude)
  
      return {
          "version": "builtin",
          "parallel_read_safe": True,
          "parallel_write_safe": True,
      }
  
imports: from __future__ import annotations
  import sys
  import textwrap
  from difflib import unified_diff
  from typing import TYPE_CHECKING, Any
  from docutils import nodes
  from docutils.parsers.rst import directives
  from docutils.statemachine import StringList
  from sphinx import addnodes
  from sphinx.directives import optional_int
  from sphinx.locale import __
  from sphinx.util import logging, parselinenos
  from sphinx.util.docutils import SphinxDirective
label_desc: Use image node_id 3 for calling a global function with example usage: setup(app) and returns: dict