def url(path):
    """Generate a Markdown link for a file/folder"""
    urlable = path.as_posix().replace('/', '').replace('.', '').lower()
    if path.is_dir():
        return f'`{path.name}`'
    return f'[`{path.name}`](#{urlable})'
