def user_summary(synapse_user):
    """Return Markdown formatted user info."""
    return ('```'
            'Synapse user ID: {0}\n'.format(synapse_user.id) +
            'Name: {0}\n'.format(synapse_user.legal_names[0]) +
            'Permissions: {0}\n'.format(synapse_user.permission) +
            '```')