Modifying Openai response to match desired output

Is possible to develop an app that render/modify the openai response to be in this style via html?
This is just an example, there are still other examples i want to use