Default formatter for inline attributions in chat messages.

Methods

format(index, source)

Format an inline attribution using a default reference style.

Parameters:

index
int
required

The index of the attribution within the list of attributions.

source
ChatSource
required

The inline attribution to format: ChatSource

Returns:

A string representing the formatted attribution in default reference style.