def create_html()

in link-verifier/verify-links.py [0:0]


def create_html(markdown_file):
    """Use pandoc to convert a markdown file to an HTML file"""
    html_file = html_name_from_markdown(markdown_file)
    # Convert from Github-flavored Markdown to HTML
    cmd = f'pandoc -f gfm -o {html_file} {markdown_file}'
    # Use pandoc to generate HTML from Markdown
    process = subprocess.run(
        cmd,
        stdout=subprocess.PIPE,
        stderr=subprocess.STDOUT,
        shell=True,
        encoding="utf-8",
        universal_newlines=True
    )
    return process