# chatgpt.cli package

## Submodules

## chatgpt.cli.custom_rich module

class chatgpt.cli.custom_rich.CustomCodeBlock(lexer_name: str, theme: str)

  Bases: `CodeBlock`

  A code block with syntax highlighting.

  classmethod create(markdown: Markdown, node: Any) → CodeBlock

    Factory to create markdown element,

    Parameters

      - markdown (Markdown) – The parent Markdown object.

      - node (Any) – A node from Pygments.

    Returns

      A new markdown element

    Return type

      MarkdownElement

  style_name = 'markdown.code_block'

## Module contents