Displays a table of OpenAI API text responses

How to make it possible?

I am building a web based application, with features similar to ChatGpt using the OpenAI API, On ChatGPT when I request display data using a table it can display a response like this :

But I tried on PlayGround it only displays text like this :

How do I make this possible with such text data then displaying it as a table, so that it’s like ChatGpt into my program?


This is down to “markdown” rendering being enabled by the ChatGPT web implementation and raw text in the Playground.

try just asking the ChatGPT convert Markdown to a HTML like code