# Inconsistent Markdown output

**URL:** <https://community.mindstudio.ai/t/inconsistent-markdown-output/553>\
**Category:** Support\
**Created:** [April 22, 2025, 2:58pm UTC](https://community.mindstudio.ai/t/inconsistent-markdown-output/553 "2025-04-22T14:58:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikeboysen](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/mikeboysen/32/143_2.png) [@mikeboysen](https://community.mindstudio.ai/u/mikeboysen)\
**Post date:** [April 22, 2025, 2:58pm UTC](https://community.mindstudio.ai/t/inconsistent-markdown-output/553/1 "2025-04-22T14:58:56Z")

</div>

Sometimes I get a nice formatted document, other times a Markdown window.

What is the best way using a “Generate Text” step whose output is consumed by a “Display Content” step. I’ve made numerous attempts at updating instructions and have two agents with the same instruction outputting in different ways.

I want to have a formatted (visual) display to user that is based on Markdown. I do not want a markdown code window. Thoughts?

---

<div class="post-metadata">

**Author:** ![jerry-mindstudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/jerry-mindstudio/32/26_2.png) [@jerry-mindstudio](https://community.mindstudio.ai/u/jerry-mindstudio)\
**Post date:** [April 22, 2025, 3:54pm UTC](https://community.mindstudio.ai/t/inconsistent-markdown-output/553/2 "2025-04-22T15:54:29Z")

</div>

Please post screenshots of both the Generate Text block and the displayed output. This will help us understand what is happening.

Thanks,

---

<div class="post-metadata">

**Author:** ![mikeboysen](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/mikeboysen/32/143_2.png) [@mikeboysen](https://community.mindstudio.ai/u/mikeboysen)\
**Post date:** [April 22, 2025, 4:18pm UTC](https://community.mindstudio.ai/t/inconsistent-markdown-output/553/3 "2025-04-22T16:18:24Z")

</div>

Two agents with identical generate text instructions:

 ![image](https://canada1.discourse-cdn.com/flex008/uploads/mindstudio/original/1X/7f1d815b4b10602463e98d7b1ab0f684d9f52d23.png)

Results in next two replies

---

<div class="post-metadata">

**Author:** ![mikeboysen](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/mikeboysen/32/143_2.png) [@mikeboysen](https://community.mindstudio.ai/u/mikeboysen)\
**Post date:** [April 22, 2025, 4:19pm UTC](https://community.mindstudio.ai/t/inconsistent-markdown-output/553/4 "2025-04-22T16:19:00Z")

</div>

Formatted as desired:

 ![formatted content](https://canada1.discourse-cdn.com/flex008/uploads/mindstudio/original/1X/295734a71da28f0e701d2d8b29d53060afcafa38.png)

---

<div class="post-metadata">

**Author:** ![mikeboysen](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/mikeboysen/32/143_2.png) [@mikeboysen](https://community.mindstudio.ai/u/mikeboysen)\
**Post date:** [April 22, 2025, 4:19pm UTC](https://community.mindstudio.ai/t/inconsistent-markdown-output/553/5 "2025-04-22T16:19:32Z")

</div>

Formatted as a markdown window in the other agent:

 ![markdown window](https://canada1.discourse-cdn.com/flex008/uploads/mindstudio/original/1X/19432b797d693dfc39a9513cff5768c733cf359b.png)

---

<div class="post-metadata">

**Author:** ![jerry-mindstudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/jerry-mindstudio/32/26_2.png) [@jerry-mindstudio](https://community.mindstudio.ai/u/jerry-mindstudio)\
**Post date:** [April 22, 2025, 8:16pm UTC](https://community.mindstudio.ai/t/inconsistent-markdown-output/553/6 "2025-04-22T20:16:56Z")

</div>

AI is not great at generating consistent outputs. If you need your formatting to be the same, it’s better to use AI to create a JSON output and then control the formatting via HTML Template. Please note this is an advanced feature in the Generate Text block.

 ![image](https://canada1.discourse-cdn.com/flex008/uploads/mindstudio/original/1X/6454bc880ddc30e81fad014e916145005b420dfc.png)

---

<div class="post-metadata">

**Author:** ![mikeboysen](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/mikeboysen/32/143_2.png) [@mikeboysen](https://community.mindstudio.ai/u/mikeboysen)\
**Post date:** [April 23, 2025, 8:50am UTC](https://community.mindstudio.ai/t/inconsistent-markdown-output/553/7 "2025-04-23T08:50:20Z")

</div>

That makes sense. This was originally created by your workflow generator so I thought there was a best practice. I’ll just have AI generated a nice HTML structure for me 😜
