# Output a PDF - Display Content Block

**URL:** <https://community.mindstudio.ai/t/output-a-pdf-display-content-block/882>\
**Category:** Support\
**Created:** [May 14, 2025, 2:45am UTC](https://community.mindstudio.ai/t/output-a-pdf-display-content-block/882 "2025-05-14T02:45:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AIFusionCoven](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@AIFusionCoven](https://community.mindstudio.ai/u/AIFusionCoven)\
**Post date:** [May 14, 2025, 2:45am UTC](https://community.mindstudio.ai/t/output-a-pdf-display-content-block/882/1 "2025-05-14T02:45:19Z")

</div>

I created my agents with a generate text and included a prompt with markdown for each. how can I output the text into a pdf without having to go through Display Asset? I tried and got errors. Am I doing something wrong? Thank you

---

<div class="post-metadata">

**Author:** ![Alex\_MindStudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/alex_mindstudio/32/27_2.png) [@Alex\_MindStudio](https://community.mindstudio.ai/u/Alex_MindStudio)\
**Post date:** [May 14, 2025, 12:29pm UTC](https://community.mindstudio.ai/t/output-a-pdf-display-content-block/882/2 "2025-05-14T12:29:20Z")

</div>

Hi @AIFusionCoven,

Thanks for the post!

To generate a PDF report from Generate Text blocks that create outputs in markdown, follow these steps:

1. Add a Generate Asset block with the following settings:

- Source Type: Markdown Text
- Source Document: Reference the variables that contain the outputs of your Generate Text blocks
- Add an Output Variable
- Format: Select PDF  
 ![image](https://canada1.discourse-cdn.com/flex008/uploads/mindstudio/original/1X/4d66c3904a98e5ba1040340920387b8fb25db442.png)

1. Add a Display Content block with the following settings:

- Message: Reference the variable of the Generate Asset block
- Display Type: Select PDF  
 ![image](https://canada1.discourse-cdn.com/flex008/uploads/mindstudio/original/1X/e1a6af1cc39329e455c1261cb15718aa4ae5bd5e.png)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![AIFusionCoven](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@AIFusionCoven](https://community.mindstudio.ai/u/AIFusionCoven)\
**Post date:** [May 15, 2025, 1:08am UTC](https://community.mindstudio.ai/t/output-a-pdf-display-content-block/882/3 "2025-05-15T01:08:59Z")

</div>

Thank you very much for this. Helped a lot
