You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the model response returns markdown (or part of the response as markdown), typically quoted by "triple ticks", we should render it with the appropriate formatting. Some basic examples below.
Requirements
This applies anywhere we have model output.
Model runner
Prompt runner
Flow runner
We should have a way to either view and/or copy the "plain" text.
e.g.) Plain
Markdown:
```
** Here is some markdown **
1. It's formatted really nice
1. And it renders a list
1. So much wow
```
Rendered:
Here is some markdown
It's formatted really nice
And it renders a list
So much wow
e.g.) Code
Markdown:
```js
console.log('hello world')
```
Rendered:
console.log('hello world')
The text was updated successfully, but these errors were encountered:
If the model response returns markdown (or part of the response as markdown), typically quoted by "triple ticks", we should render it with the appropriate formatting. Some basic examples below.
Requirements
This applies anywhere we have model output.
We should have a way to either view and/or copy the "plain" text.
e.g.) Plain
Markdown:
Rendered:
Here is some markdown
e.g.) Code
Markdown:
Rendered:
The text was updated successfully, but these errors were encountered: