mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-06-03 06:10:09 +02:00
remove commented code
This commit is contained in:
parent
16c4d696e7
commit
2853a180e0
|
@ -26,7 +26,7 @@ const markdown = markdownIt({
|
|||
hljs.highlight(code, { language: lang, ignoreIllegals: true }).value +
|
||||
"</pre></div>"
|
||||
);
|
||||
} catch (__) {}
|
||||
} catch (__) { }
|
||||
}
|
||||
|
||||
return (
|
||||
|
@ -44,8 +44,6 @@ const markdown = markdownIt({
|
|||
);
|
||||
},
|
||||
});
|
||||
// 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