# rich 15.0.0 (MIT), harvested by tools/harvest_corpus.py
=== input
Parse a style definition.

        Args:
            style_definition (str): A string containing a style.

        Raises:
            errors.StyleSyntaxError: If the style definition syntax is invalid.

        Returns:
            `Style`: A Style instance.
        
=== parse google
short_description: 'Parse a style definition.'
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'A string containing a style.'
  kind: param
  key: 'param'
  arg_name: 'style_definition'
  type_name: 'str'
  is_optional: False
- DocstringRaises
  description: 'If the style definition syntax is invalid.'
  kind: raises
  key: 'raises'
  type_name: 'errors.StyleSyntaxError'
- DocstringReturns
  description: 'A Style instance.'
  kind: returns
  key: 'returns'
  type_name: '`Style`'
  is_generator: False
=== detect
google
=== compose google
Parse a style definition.

Args:
    style_definition (str): A string containing a style.

Raises:
    errors.StyleSyntaxError: If the style definition syntax is invalid.

Returns:
    `Style`: A Style instance.
