def FormatExtensionList(items, prefix='extension', indent=2):
    indent = (' ' * indent)
    formatted_list = '\n'.join((f'{indent}- :ref:`{ext} <{prefix}_{ext}>`' for ext in items))
    return f'''{formatted_list}
{indent}
'''
def FormatExtensionList(items, prefix='extension', indent=2):
    indent = (' ' * indent)
    formatted_list = '\n'.join((f'{indent}- :ref:`{ext} <{prefix}_{ext}>`' for ext in items))
    return f'{formatted_list}
{indent}
'