def generate_csd_link(refcode: str) -> str:
    """Take a refocde string and make a link to WebCSD"""
    return '<a href="https://www.ccdc.cam.ac.uk/structures/Search?Ccdcid={}&DatabaseToSearch=Published">{}</a>'.format(
        refcode, refcode
    )