diff --git a/source/app/metrics/metadata.mjs b/source/app/metrics/metadata.mjs index 1e5688ac..63c331f3 100644 --- a/source/app/metrics/metadata.mjs +++ b/source/app/metrics/metadata.mjs @@ -287,7 +287,7 @@ metadata.plugin = async function({__plugins, __templates, name, logger}) { const header = [ "
${meta.name} | |||||||
|---|---|---|---|---|---|---|---|
| ${(meta.description ?? "").replace(/\n/g, " ")} | |||||||
| ${marked.parse(meta.description ?? "", {silent:true})} | |||||||
| Supported features → Full specification | ',
` ${Object.entries(compatibility).filter(([_, value]) => value).map(([id]) => `${templates[id].name ?? ""}`).join(" ")} | `,
@@ -304,7 +304,7 @@ metadata.plugin = async function({__plugins, __templates, name, logger}) {
...(meta.scopes ?? []).map(scope => `||||||
${meta.name ?? "(unnamed template)"} | |
|---|---|
| ${(meta.description ?? "").replace(/\n/g, " ")} | |
| ${marked.parse(meta.description ?? "", {silent:true})} | |
| Supported features → Full specification | ',
` ${Object.entries(compatibility).filter(([_, value]) => value).map(([id]) => `${plugins[id].icon}`).join(" ")}${meta.formats?.includes("markdown") ? " ✓ embed()" : ""} | `,