smart-models/Placebo_AI
0
1from markdown_pdf import MarkdownPdf, Section2 3def convert_md_to_pdf():4 print("Converting PITCH_DECK.md to PITCH_DECK.pdf...")5 pdf = MarkdownPdf(toc_level=2)6 with open("PITCH_DECK.md", "r", encoding="utf-8") as f:7 md_content = f.read()8 9 pdf.add_section(Section(md_content))10 pdf.save("PITCH_DECK.pdf")11 print("Successfully created PITCH_DECK.pdf!")12 13if __name__ == "__main__":14 convert_md_to_pdf()15 