Formatting Results
HTML, Hyperlinks and Markdown in Results
Ask Steve formats the results from the LLM or API in the following ways:
Hyperlinks
- Any URLs are automatically hyperlinked.
Markdown
- Markdown is supported. We use the Showdown library.
HTML
- HTML is supported.
- All
<img>
tags are automatically linked to the source image.
Parsing Logic
- If the return value starts with ``` then the whole message is parsed as a code block.
- Otherwise all the Markdown is converted to HTML and then the message is rendered.