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>
|
<th colspan="2"><a href="source/templates/community/README.md"><%= templates.community.name -%></a></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" align="center">
|
<%- templates.community.readme.demo %>
|
||||||
<%- templates.community.readme.demo.replace(/<img src=/g, `<img alt="" width="400" src=`)?.split("\n")?.map((x, i) => i ? ` ${x}` : x)?.join("\n") %>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</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>
|
<th colspan="2"><a href="source/templates/community/README.md">📕 Community templates</a></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" align="center">
|
<td align="center" colspan="2">See <a href="/source/templates/community/README.md">documentation</a> 🌍</td>
|
||||||
<td align="center">See <a href="/source/templates/community/README.md">documentation</a> 🌍</td>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|||||||
@@ -271,7 +271,7 @@
|
|||||||
return {
|
return {
|
||||||
name:raw.match(/^### (?<name>[\s\S]+?)\n/)?.groups?.name?.trim(),
|
name:raw.match(/^### (?<name>[\s\S]+?)\n/)?.groups?.name?.trim(),
|
||||||
readme:{
|
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},
|
compatibility:{...compatibility, base:true},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user