Display results with HTML
Hi everyone,
I have HTML output and it doesn't look pretty. Is there any way they can look better? Very grateful for all the help and guidance.
Thanks!

30 Replies
Typebot can only parse markdown, not html! I suggest you make sure the content is parsed to markdown on your end
I receive information from a 3rd party API. I am not proactive about the issue. If there is a separate support block for HTML in the future, it would be great.
I found a solution, but I don´t know if it is completely ok considering the height of the block.
You can try to create a var like and put it into a embed block:
const html =
<html>
<body>
<p><b>This text is bold</b></p>
<p><i>This text is italic</i></p>
<p>This is<sub> subscript</sub> and <sup>superscript</sup></p>
</body>
</html>
const blob = new Blob([html], {type: "text/html"});
const url = window.URL.createObjectURL(blob);
return url
Here is working

it doesn't work with me, something must be wrong. Please share detail. Thanks!
An easier way would be to convert the HTML into Markdown so that typebot can interpret this correctly
So you could pass the HTML string to an API that would convert it to Markdown not sure if that exists
Sounds very appealing. Do you have documentation? Please give me
Whois | TaigaHost
Whois | TaigaHost
The system helps you check international and Vietnamese domain names.
This is my project
Could you create a basic flow as I said and test it? If not work send me the flow in private. Then I could check it.
Sample from your flow working:
https://typebot.co/my-typebot-dptdaov
My typebot
My typebot
Build beautiful conversational forms and embed them directly in your applications without a line of code. Triple your response rate and collect answers that has more value compared to a traditional form.
You need to set execute on client in the variable set block
this is exactly what i want
Editor
Create and publish conversational forms that collect 4 times more answers and feel native to your product
Please take a look at my flow, thanks!
I tried to reproduce it but it still doesn't look right. Please help me. Really appreciates!

You are using single quotes. Change to backticks (`) instead of single or double quotes:
const html =
<html>
<body>
{{your_var}}
</body>
</html>
Whois | TaigaHost
Whois | TaigaHost
The system helps you check international and Vietnamese domain names.
It worked but it didn't display the content like I wanted it to. Please help me take a look. Thank you very much for your time.


I really don't recommend this... You should use the embed bubble to display your own HTML site / content.
Do you have any solutions for me? I just want to display the Whois information in a nice way.
What is your 'whois' var content?
You can look through this link: https://app.typebot.io/typebots/clr3d0p8o000akw0gv8i88vag/edit
Editor
Create and publish conversational forms that collect 4 times more answers and feel native to your product
I don´t understand vietnamese language. I`ts too hard to test. Make a sample in english with the url site to test already setted in a var.
My friend, my content is in English. Please take a look. Or can you share your flow URL?

Do you have any tutorial for me? Thank you very much
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
I suggest you use another API than http://www.whois.net.vn, @Lam Lai. Returning HTML is really a not conventional thing 😅
You can use as @Baptiste suggested another API. This api has a free plan and returns JSON data: https://whoisjsonapi.com/page/documentation
Thank you very much for your professional opinions. I would consider another API provider.