Availability to convert markdown file to pdf

Hi All,
I’m new to crewAI and was watching a tutorial about “Building a Resume Optimizer AI Agent with CrewAI”: https://www.youtube.com/watch?v=ppE1CXhRNF8. The output of the crew Task is generating markdown format which makes me start thinking that it will be a good help if Task can support generating pdf as output. Unfortunately, I read through the docs but it seems like it’s not being supported today. I wonder if the team is going to add this as a new feature in the future or is there any workaround nowadays to do the md → pdf conversion?

Thanks,
Leo

You can use an external tool, like Quarto, to post-process your Markdown and convert it into other formats.

1 Like

Maybe create a new agent which will have a custom tool associated which will create the pdf_files leveraging any python library to create pdf files.

1 Like

yes this is a good example. the rule of thumb is that you will need a tool for this conversion to happen if you want to keep this within your agent workflow. also you don’t need an agent for this per se. you could use the @after_kickoff decorator on a functionthat will do the conversion at the end by reading in a markdown file.

1 Like

I like this question. I feel there needs to be a library of tools like

Convert to PDf
Covert to Docx

Also tools like

Connect to Google Drive
Create Google Doc and Sheet etc
(also MS tools)

Most people will need these in the flow

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

That’s a good point @Tony_Wood. We’ll consider this.

1 Like