Update README.md
This commit is contained in:
4
.github/readme/partials/introduction.md
vendored
4
.github/readme/partials/introduction.md
vendored
@@ -87,9 +87,7 @@ And you can customize these heavily with plugins, templates and hundreds of opti
|
||||
<th colspan="2"><a href="source/templates/community/README.md"><%= templates.community.name -%></a></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<%- templates.community.readme.demo.replace(/<img src=/g, `<img alt="" width="400" src=`)?.split("\n")?.map((x, i) => i ? ` ${x}` : x)?.join("\n") %>
|
||||
</td>
|
||||
<%- templates.community.readme.demo %>
|
||||
</tr>
|
||||
</table>
|
||||
<% } %>
|
||||
|
||||
@@ -340,9 +340,7 @@ And you can customize these heavily with plugins, templates and hundreds of opti
|
||||
<th colspan="2"><a href="source/templates/community/README.md">📕 Community templates</a></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<td align="center">See <a href="/source/templates/community/README.md">documentation</a> 🌍</td>
|
||||
</td>
|
||||
<td align="center" colspan="2">See <a href="/source/templates/community/README.md">documentation</a> 🌍</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -271,7 +271,7 @@
|
||||
return {
|
||||
name:raw.match(/^### (?<name>[\s\S]+?)\n/)?.groups?.name?.trim(),
|
||||
readme:{
|
||||
demo:raw.match(/(?<demo><table>[\s\S]*?<[/]table>)/)?.groups?.demo?.replace(/<[/]?(?:table|tr)>/g, "")?.trim() ?? (name === "community" ? "<td align=\"center\">See <a href=\"/source/templates/community/README.md\">documentation</a> 🌍</td>" : "<td></td>"),
|
||||
demo:raw.match(/(?<demo><table>[\s\S]*?<[/]table>)/)?.groups?.demo?.replace(/<[/]?(?:table|tr)>/g, "")?.trim() ?? (name === "community" ? '<td align="center" colspan="2">See <a href="/source/templates/community/README.md">documentation</a> 🌍</td>' : "<td></td>"),
|
||||
compatibility:{...compatibility, base:true},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user