Formats documentation to learn about the supported output formats.
DEFAULT_FORMATTER: str
#The default formatter.
FORMATTERS: dict
#The collection of formatters.
new_formatter(mode='ansi', **kwargs)
#Creates a new formatter instance.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
mode | Option[str] | The mode of the output text. Defaults to | 'ansi' |
**kwargs | dict | Appropriate keyword arguments. See | {} |
Returns:
Type | Description |
---|---|
Type[picharsso.format.BaseFormatter] | The new formatter instance. |
picharsso/format/__init__.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 | |