T
Typebot16mo ago
Lam Lai

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!
No description
30 Replies
Baptiste
Baptiste16mo ago
Typebot can only parse markdown, not html! I suggest you make sure the content is parsed to markdown on your end
Lam Lai
Lam LaiOP16mo ago
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.
LuizAlves
LuizAlves16mo ago
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
LuizAlves
LuizAlves16mo ago
Here is working
No description
Lam Lai
Lam LaiOP16mo ago
it doesn't work with me, something must be wrong. Please share detail. Thanks!
Baptiste
Baptiste16mo ago
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
Lam Lai
Lam LaiOP16mo ago
Sounds very appealing. Do you have documentation? Please give me
Lam Lai
Lam LaiOP16mo ago
Whois | TaigaHost
Whois | TaigaHost
The system helps you check international and Vietnamese domain names.
Lam Lai
Lam LaiOP16mo ago
This is my project
LuizAlves
LuizAlves16mo ago
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.
LuizAlves
LuizAlves16mo ago
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.
LuizAlves
LuizAlves16mo ago
You need to set execute on client in the variable set block
Lam Lai
Lam LaiOP16mo ago
this is exactly what i want
Lam Lai
Lam LaiOP16mo ago
Editor
Create and publish conversational forms that collect 4 times more answers and feel native to your product
Lam Lai
Lam LaiOP16mo ago
Please take a look at my flow, thanks!
Lam Lai
Lam LaiOP16mo ago
I tried to reproduce it but it still doesn't look right. Please help me. Really appreciates!
No description
LuizAlves
LuizAlves16mo ago
You are using single quotes. Change to backticks (`) instead of single or double quotes: const html = <html> <body> {{your_var}} </body> </html>
Lam Lai
Lam LaiOP16mo ago
Whois | TaigaHost
Whois | TaigaHost
The system helps you check international and Vietnamese domain names.
Lam Lai
Lam LaiOP16mo ago
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.
No description
No description
Baptiste
Baptiste16mo ago
I really don't recommend this... You should use the embed bubble to display your own HTML site / content.
Lam Lai
Lam LaiOP16mo ago
Do you have any solutions for me? I just want to display the Whois information in a nice way.
LuizAlves
LuizAlves16mo ago
What is your 'whois' var content?
Lam Lai
Lam LaiOP16mo ago
Editor
Create and publish conversational forms that collect 4 times more answers and feel native to your product
LuizAlves
LuizAlves16mo ago
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.
Lam Lai
Lam LaiOP16mo ago
My friend, my content is in English. Please take a look. Or can you share your flow URL?
No description
Lam Lai
Lam LaiOP16mo ago
Do you have any tutorial for me? Thank you very much
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Baptiste
Baptiste16mo ago
I suggest you use another API than http://www.whois.net.vn, @Lam Lai. Returning HTML is really a not conventional thing 😅
LuizAlves
LuizAlves16mo ago
You can use as @Baptiste suggested another API. This api has a free plan and returns JSON data: https://whoisjsonapi.com/page/documentation
Lam Lai
Lam LaiOP16mo ago
Thank you very much for your professional opinions. I would consider another API provider.

Did you find this page helpful?