Methods
__init__(headline_length=None, skip_empty_urls=True)
Initialize the MarkdownLinkInlineAttributionFormatter.
Parameters:
int
The maximum length of the headline to be displayed in the link.
bool
Whether to skip sources with empty URLs.
format(index, source)
Format an inline attribution as a Markdown link.
Parameters:
int
required
The index of the attribution within the list of attributions.
ChatSource
required
The inline attribution to format: ChatSource