Skip to content
Snippets Groups Projects
Commit 500e53dc authored by timothycarambat's avatar timothycarambat
Browse files

preserve listing from LLM response

parent a01d4b84
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,9 @@ const markdown = markdownIt({ ...@@ -43,7 +43,9 @@ const markdown = markdownIt({
"</pre></div>" "</pre></div>"
); );
}, },
}); })
// Enable <ol> and <ul> items to not assume an HTML structure so we can keep numbering from responses.
.disable("list");
export default function renderMarkdown(text = "") { export default function renderMarkdown(text = "") {
return markdown.render(text); return markdown.render(text);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment