From 6eb085be3cf805f4d2438874af0877632ab5a86a Mon Sep 17 00:00:00 2001
From: lowlighter <22963968+lowlighter@users.noreply.github.com>
Date: Tue, 6 Apr 2021 22:52:34 +0200
Subject: [PATCH] Update README.md
---
.github/readme/partials/introduction.md | 4 +---
README.md | 4 +---
source/app/metrics/metadata.mjs | 2 +-
3 files changed, 3 insertions(+), 7 deletions(-)
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" ? "| See documentation 🌍 | " : " | "),
+ demo:raw.match(/(?[\s\S]*?<[/]table>)/)?.groups?.demo?.replace(/<[/]?(?:table|tr)>/g, "")?.trim() ?? (name === "community" ? '| See documentation 🌍 | ' : " | "),
compatibility:{...compatibility, base:true},
},
}