def find_markdown_path(line: str):
    """Parse the given string for the path in a markdown image tag"""
    path = ''
    open_paren_count = 0
    for char in line:
        if char == '(':
            open_paren_count += 1
        if char == ')':
            open_paren_count -= 1
        if open_paren_count > 0:
            path = f"{path}{char}"
        if len(path) > 0 and open_paren_count == 0:
            break
    path = path.strip('(')

    return path