Welcome to the community!
A kindly reminding; when you ask, if you show some sample outputs from ChatGPT, it can help community members to understand problem better and provide better solution.
BTW, you may try some following prompts. I hope, one of them can help you.
1- Specific Formats
Alternative format explicitly, such as “raw text” or even “JSON format”.
Please deliver the response in plain text without any Markdown or formatting. Provide the output as raw text.
Respond in JSON format with a key ‘response’ containing the pure text, no Markdown, no special characters.
2- Structured Delimiters
We can use delimiters like """
or ---
and provide clear instructions for ChatGPT to only generate plain text within these delimiters.
Please deliver the following response inside triple quotes ("""
) and ensure there is no Markdown formatting, no special characters, and no extra spaces. Deliver the response as plain text within the quotes.
"""
Deliver the response here in plain text without any formatting.
"""
3- Role based
We can make the GPT adopt a role that explicitly avoids formatting. This technique can help establish a consistent tone:
You are a legal assistant writing formal documents. Ensure the response is in plain text without any Markdown or special formatting. Avoid bullet points, asterisks, or any symbols that indicate structured text.
4- CoT (Chain-of-thought) prompt
We can guide ChatGPT step-by-step through the task of stripping Markdown:
First, generate the response with Markdown formatting. Then, in the next step, remove all Markdown characters and symbols. Deliver only the pure text with no formatting in the final output.
5- Clarify What Constitutes “Plain Text”
Sometimes, specifying what we mean by plain text in the context of our document needs helps.
Provide the response as plain text, which means: no bold, no italics, no headers, no bullet points, no links, no code blocks. Just words, without any special characters.