diff --git a/.github/readme/partials/introduction.md b/.github/readme/partials/introduction.md index 9feea18b..50c23287 100644 --- a/.github/readme/partials/introduction.md +++ b/.github/readme/partials/introduction.md @@ -87,9 +87,7 @@ And you can customize these heavily with plugins, templates and hundreds of opti <%= templates.community.name -%> - - <%- templates.community.readme.demo.replace(/ i ? ` ${x}` : x)?.join("\n") %> - + <%- templates.community.readme.demo %> <% } %> diff --git a/README.md b/README.md index 05cd0109..c3faf07f 100644 --- a/README.md +++ b/README.md @@ -340,9 +340,7 @@ And you can customize these heavily with plugins, templates and hundreds of opti 📕 Community templates - - See documentation 🌍 - + See documentation 🌍 diff --git a/source/app/metrics/metadata.mjs b/source/app/metrics/metadata.mjs index 18cfd5b0..762cac82 100644 --- a/source/app/metrics/metadata.mjs +++ b/source/app/metrics/metadata.mjs @@ -271,7 +271,7 @@ return { name:raw.match(/^### (?[\s\S]+?)\n/)?.groups?.name?.trim(), readme:{ - demo:raw.match(/(?[\s\S]*?<[/]table>)/)?.groups?.demo?.replace(/<[/]?(?:table|tr)>/g, "")?.trim() ?? (name === "community" ? "" : ""), + demo:raw.match(/(?
See documentation 🌍
[\s\S]*?<[/]table>)/)?.groups?.demo?.replace(/<[/]?(?:table|tr)>/g, "")?.trim() ?? (name === "community" ? '' : ""), compatibility:{...compatibility, base:true}, }, }
See documentation 🌍