mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-04 22:10:12 +01:00
preserve listing from LLM response
This commit is contained in:
parent
a01d4b847e
commit
500e53dc8a
@ -43,7 +43,9 @@ const markdown = markdownIt({
|
||||
"</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 = "") {
|
||||
return markdown.render(text);
|
||||
|
Loading…
Reference in New Issue
Block a user