def url_from_handle(screen_name: str, md_link: bool = False) -> str:
    """Get twitter url from handle as url or markdown link."""
    url = f'https://twitter.com/{screen_name}'
    if md_link:
        return f'[@{screen_name}]({url})'
    else:
        return url