# rich 15.0.0 (MIT), harvested by tools/harvest_corpus.py
=== input
Construct a Syntax object to render syntax highlighted code.

    Args:
        code (str): Code to highlight.
        lexer (Lexer | str): Lexer to use (see https://pygments.org/docs/lexers/)
        theme (str, optional): Color theme, aka Pygments style (see https://pygments.org/docs/styles/#getting-a-list-of-available-styles). Defaults to "monokai".
        dedent (bool, optional): Enable stripping of initial whitespace. Defaults to False.
        line_numbers (bool, optional): Enable rendering of line numbers. Defaults to False.
        start_line (int, optional): Starting number for line numbers. Defaults to 1.
        line_range (Tuple[int | None, int | None], optional): If given should be a tuple of the start and end line to render.
            A value of None in the tuple indicates the range is open in that direction.
        highlight_lines (Set[int]): A set of line numbers to highlight.
        code_width: Width of code to render (not including line numbers), or ``None`` to use all available width.
        tab_size (int, optional): Size of tabs. Defaults to 4.
        word_wrap (bool, optional): Enable word wrapping.
        background_color (str, optional): Optional background color, or None to use theme color. Defaults to None.
        indent_guides (bool, optional): Show indent guides. Defaults to False.
        padding (PaddingDimensions): Padding to apply around the syntax. Defaults to 0 (no padding).
    
=== parse google
short_description: 'Construct a Syntax object to render syntax highlighted code.'
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'Code to highlight.'
  kind: param
  key: 'param'
  arg_name: 'code'
  type_name: 'str'
  is_optional: False
- DocstringParam
  description: 'Lexer to use (see https://pygments.org/docs/lexers/)'
  kind: param
  key: 'param'
  arg_name: 'lexer'
  type_name: 'Lexer | str'
  is_optional: False
- DocstringParam
  description: 'Color theme, aka Pygments style (see https://pygments.org/docs/styles/#getting-a-list-of-available-styles). Defaults to "monokai".'
  kind: param
  key: 'param'
  arg_name: 'theme'
  type_name: 'str'
  is_optional: True
  default: '"monokai"'
  raw_type_name: 'str, optional'
- DocstringParam
  description: 'Enable stripping of initial whitespace. Defaults to False.'
  kind: param
  key: 'param'
  arg_name: 'dedent'
  type_name: 'bool'
  is_optional: True
  default: 'False'
  raw_type_name: 'bool, optional'
- DocstringParam
  description: 'Enable rendering of line numbers. Defaults to False.'
  kind: param
  key: 'param'
  arg_name: 'line_numbers'
  type_name: 'bool'
  is_optional: True
  default: 'False'
  raw_type_name: 'bool, optional'
- DocstringParam
  description: 'Starting number for line numbers. Defaults to 1.'
  kind: param
  key: 'param'
  arg_name: 'start_line'
  type_name: 'int'
  is_optional: True
  default: '1'
  raw_type_name: 'int, optional'
- DocstringParam
  description: |
    If given should be a tuple of the start and end line to render.
    A value of None in the tuple indicates the range is open in that direction.
  kind: param
  key: 'param'
  arg_name: 'line_range'
  type_name: 'Tuple[int | None, int | None]'
  is_optional: True
  raw_type_name: 'Tuple[int | None, int | None], optional'
- DocstringParam
  description: 'A set of line numbers to highlight.'
  kind: param
  key: 'param'
  arg_name: 'highlight_lines'
  type_name: 'Set[int]'
  is_optional: False
- DocstringParam
  description: 'Width of code to render (not including line numbers), or ``None`` to use all available width.'
  kind: param
  key: 'param'
  arg_name: 'code_width'
  is_optional: False
- DocstringParam
  description: 'Size of tabs. Defaults to 4.'
  kind: param
  key: 'param'
  arg_name: 'tab_size'
  type_name: 'int'
  is_optional: True
  default: '4'
  raw_type_name: 'int, optional'
- DocstringParam
  description: 'Enable word wrapping.'
  kind: param
  key: 'param'
  arg_name: 'word_wrap'
  type_name: 'bool'
  is_optional: True
  raw_type_name: 'bool, optional'
- DocstringParam
  description: 'Optional background color, or None to use theme color. Defaults to None.'
  kind: param
  key: 'param'
  arg_name: 'background_color'
  type_name: 'str'
  is_optional: True
  default: 'None'
  raw_type_name: 'str, optional'
- DocstringParam
  description: 'Show indent guides. Defaults to False.'
  kind: param
  key: 'param'
  arg_name: 'indent_guides'
  type_name: 'bool'
  is_optional: True
  default: 'False'
  raw_type_name: 'bool, optional'
- DocstringParam
  description: 'Padding to apply around the syntax. Defaults to 0 (no padding).'
  kind: param
  key: 'param'
  arg_name: 'padding'
  type_name: 'PaddingDimensions'
  is_optional: True
  default: '0'
=== detect
google
=== compose google
Construct a Syntax object to render syntax highlighted code.

Args:
    code (str): Code to highlight.
    lexer (Lexer | str): Lexer to use (see https://pygments.org/docs/lexers/)
    theme (str, optional): Color theme, aka Pygments style (see https://pygments.org/docs/styles/#getting-a-list-of-available-styles). Defaults to "monokai".
    dedent (bool, optional): Enable stripping of initial whitespace. Defaults to False.
    line_numbers (bool, optional): Enable rendering of line numbers. Defaults to False.
    start_line (int, optional): Starting number for line numbers. Defaults to 1.
    line_range (Tuple[int | None, int | None], optional): If given should be a tuple of the start and end line to render.
        A value of None in the tuple indicates the range is open in that direction.
    highlight_lines (Set[int]): A set of line numbers to highlight.
    code_width: Width of code to render (not including line numbers), or ``None`` to use all available width.
    tab_size (int, optional): Size of tabs. Defaults to 4.
    word_wrap (bool, optional): Enable word wrapping.
    background_color (str, optional): Optional background color, or None to use theme color. Defaults to None.
    indent_guides (bool, optional): Show indent guides. Defaults to False.
    padding (PaddingDimensions): Padding to apply around the syntax. Defaults to 0 (no padding).
