def yml_ext_link(url, nesting_level=0, numbered=False):
    return ('%s- external: %s\n  numbered: %s\n' % (url, ('  ' * nesting_level), numbered))
def yml_ext_link(url, nesting_level=0, numbered=False):
    return ('%s- external: %s\n  numbered: %s\n' % (url, ('  ' * nesting_level), numbered))