code: def __init__(
      self,
      dest: str = "html",
      stylename: str = "sphinx",
      latex_engine: str | None = None,
  ) -> None:
      self.dest = dest
      self.latex_engine = latex_engine
  
      style = self.get_style(stylename)
      self.formatter_args: dict[str, Any] = {"style": style}
      if dest == "html":
          self.formatter = self.html_formatter
      else:
          self.formatter = self.latex_formatter
          self.formatter_args["commandprefix"] = "PYG"
  
file_path: sphinx/sphinx/highlighting.py
imports: from __future__ import annotations
  from functools import partial
  from importlib import import_module
  from typing import TYPE_CHECKING, Any
  from pygments import highlight
  from pygments.filters import ErrorToken
  from pygments.formatters import HtmlFormatter, LatexFormatter
  from pygments.lexers import CLexer, PythonConsoleLexer, PythonLexer, RstLexer, TextLexer, get_lexer_by_name, guess_lexer
  from pygments.styles import get_style_by_name
  from pygments.util import ClassNotFound
  from sphinx.locale import __
  from sphinx.pygments_styles import NoneStyle, SphinxStyle
  from sphinx.util import logging, texescape
label_desc: Use image node_id 1 to create a new PygmentsBridge object  with example: obj = PygmentsBridge(dest, stylename, latex_engine)