Hi! Instead of a
"text", you can also provide data with a
"html" key to the
choice UI. So you can include the full HTML markup there (and call your current
"text" key something else so Prodigy doesn't use that one instead).
If you don't want to duplicate the text in your JSON, you could also use a
"html_template" in your config, which lets you refer to properties in your JSON as variables: https://prodi.gy/docs/custom-interfaces#html So you could do something like:
This will insert the keys
"main_text" from your examples. Important note: Just make sure your examples include something like
"html": "" so Prodigy knows that you want to render the main content in HTML mode.