Pandoc with Streamlit

Hi,

I occasionally create PDF reports using Markdown → Pandoc → PDF using templates like this. For running streamlit in localhost, I can run pandoc using the following code. But I have now moved my streamlit to Streamlit Cloud, so I am looking for other options. I am open to other modules than pandoc, but I have to convert markdown to PDF for proper reports (including variables, latex and graphs).

    print_properties = [
        "pandoc",
        markdown_path,
        "-o",
        PDF_path,
        "--from",
        "markdown",
        "--template",
        "Templates\\eisvogel",
    ]

    subprocess.run(print_properties)