mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-09-18 11:55:44 +00:00
Docs: Update benchmark for stealth/union-alpha EFF:high
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
let loader;
|
||||
|
||||
export async function parseMarkdown(markdown) {
|
||||
loader ||= import('https://esm.sh/marked@12').then((m) => m.marked);
|
||||
const marked = await loader;
|
||||
const source = typeof markdown === 'string' ? markdown : '';
|
||||
return marked.parse(source, { gfm: true, breaks: false });
|
||||
}
|
||||
export default parseMarkdown;
|
||||
// Generation time: 59.989s
|
||||
// Result: PASS
|
||||
Reference in New Issue
Block a user