mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-01-14 08:37:56 +00:00
Docs: Update benchmark for minimax/minimax-m2.1
This commit is contained in:
11
tests/5_markdown_parser/outputs/minimax_minimax-m2.1.js
Normal file
11
tests/5_markdown_parser/outputs/minimax_minimax-m2.1.js
Normal file
@@ -0,0 +1,11 @@
|
||||
async function parseMarkdown(markdown) {
|
||||
try {
|
||||
const { marked } = await import('https://cdn.jsdelivr.net/npm/marked@5.1.0/lib/marked.esm.min.js');
|
||||
return marked.parse(markdown);
|
||||
} catch (error) {
|
||||
return `<p>Error parsing markdown: ${error.message}</p>`;
|
||||
}
|
||||
}
|
||||
export default parseMarkdown;
|
||||
// Generation time: 10.685s
|
||||
// Result: PASS
|
||||
Reference in New Issue
Block a user