mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-06-28 04:12:13 +00:00
Docs: Update benchmark for anthropic/claude-fable-5
This commit is contained in:
13
tests/5_markdown_parser/outputs/anthropic_claude-fable-5.js
Normal file
13
tests/5_markdown_parser/outputs/anthropic_claude-fable-5.js
Normal file
@@ -0,0 +1,13 @@
|
||||
let markedPromise;
|
||||
|
||||
const loadMarked = () =>
|
||||
markedPromise ??= import('https://cdn.jsdelivr.net/npm/marked@12.0.2/+esm');
|
||||
|
||||
async function parseMarkdown(markdown) {
|
||||
if (typeof markdown !== 'string') throw new TypeError('parseMarkdown expects a string');
|
||||
const { marked } = await loadMarked();
|
||||
return marked.parse(markdown, { gfm: true, async: true });
|
||||
}
|
||||
export default parseMarkdown;
|
||||
// Generation time: 10.393s
|
||||
// Result: PASS
|
||||
Reference in New Issue
Block a user