feature: vor und nachteile

This commit is contained in:
Hikyu
2026-05-31 13:54:31 +02:00
parent 552a947a1c
commit e3dad17446
23270 changed files with 3024794 additions and 200 deletions
+14
View File
@@ -0,0 +1,14 @@
function extractorMdc() {
return {
name: "@unocss/extractor-mdc",
async extract(ctx) {
if (!/\.(?:md|mdc|markdown)$/i.test(ctx.id ?? ""))
return;
ctx.code.match(/\.[\w:/\-]+/g)?.forEach((c) => {
ctx.extracted.add(c.slice(1));
});
}
};
}
export { extractorMdc as default };