Delete tests/5_markdown_parser/outputs_gemini directory

This commit is contained in:
2025-11-26 18:02:12 -08:00
committed by GitHub
parent 09d218b681
commit 6621ada324
21 changed files with 0 additions and 122 deletions

View File

@@ -1,8 +0,0 @@
const parseMarkdown = async s => {
const [{ marked: m }, { default: p }] = await Promise.all([
import('https://cdn.jsdelivr.net/npm/marked/lib/marked.esm.js'),
import('https://cdn.jsdelivr.net/npm/dompurify/dist/purify.es.js')
])
return p.sanitize(m.parse(s))
}
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async (text) => {
const { parse } = await import('https://esm.sh/marked');
return parse(text);
};
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async (md) => {
const { parse } = await import('https://cdn.jsdelivr.net/npm/marked/+esm')
return parse(md || '')
}
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async (md) => {
const { parse } = await import('https://esm.sh/marked');
return parse(md);
};
export default parseMarkdown;

View File

@@ -1,11 +0,0 @@
const parseMarkdown = async s => {
if (typeof s !== 'string') return ''
try {
const { parse } = await import('https://cdn.jsdelivr.net/npm/marked/+esm')
return parse(s)
} catch (e) {
console.error(e)
return ''
}
}
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async md => {
const { marked } = await import('https://esm.sh/marked@12')
return marked.parse(md)
}
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async (md) => {
const { parse } = await import('https://esm.sh/marked@12.0.1')
return parse(md ?? '')
}
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async (md) => {
const { parse } = await import('https://esm.sh/marked@12');
return parse(md || '');
};
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async (content = '') => {
const { marked } = await import('https://cdn.jsdelivr.net/npm/marked@12.0.2/+esm')
return marked.parse(content)
}
export default parseMarkdown;

View File

@@ -1,9 +0,0 @@
const parseMarkdown = async t => {
const u = 'https://esm.sh/',
[{ parse }, { default: d }] = await Promise.all([
import(u + 'marked@12.0.1'),
import(u + 'dompurify@3.0.9')
])
return d(self).sanitize(parse(t ?? ''))
}
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async s => {
const { parse: p } = await import('https://esm.sh/marked@12');
return p(s);
};
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async (md) => {
const { marked: p } = await import('https://cdn.jsdelivr.net/npm/marked/+esm')
return p.parse(md || '')
}
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async s => {
const { parse } = await import('https://esm.sh/marked@12.0.1')
return parse(s)
}
export default parseMarkdown;

View File

@@ -1,10 +0,0 @@
export const parseMarkdown = async (str) => {
const ref = parseMarkdown;
ref.lib ||= (await import('https://esm.sh/marked@12.0.1')).marked;
return ref.lib.parse(str || '', {
async: false,
gfm: true,
breaks: true
});
};
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async m => {
const { parse: p } = await import('https://esm.sh/marked@12.0.2')
return p(m ?? '')
}
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async s => {
const { parse } = await import('https://esm.sh/marked@12')
return parse(s)
}
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async md => {
const { parse } = await import('https://cdn.jsdelivr.net/npm/marked/+esm')
return parse(md)
}
export default parseMarkdown;

View File

@@ -1,4 +0,0 @@
const parseMarkdown = async md => (
await import('https://esm.sh/marked@12')
).parse(md, { gfm: true, breaks: true })
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
export const parseMarkdown = async (md = '') => {
const { parse } = await import('https://esm.sh/marked@12.0.1')
return parse(md)
}
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async (md = '') => {
const { parse } = await import('https://esm.sh/marked@12')
return parse(md)
}
export default parseMarkdown;

View File

@@ -1,5 +0,0 @@
const parseMarkdown = async (md) => {
const { parse } = await import('https://esm.run/marked')
return parse(md ?? '', { async: false })
}
export default parseMarkdown;