Add markdown template (#209)
This commit is contained in:
10
.github/readme/partials/introduction.md
vendored
10
.github/readme/partials/introduction.md
vendored
@@ -55,7 +55,7 @@ And you can customize these heavily with plugins, templates and hundreds of opti
|
||||
<% } %>
|
||||
<% {
|
||||
let cell = 0
|
||||
const elements = Object.entries(templates).filter(([key, value]) => value)
|
||||
const elements = Object.entries(templates).filter(([key, value]) => (value)&&(!["community"].includes(key)))
|
||||
%>
|
||||
<table>
|
||||
<tr>
|
||||
@@ -83,5 +83,13 @@ And you can customize these heavily with plugins, templates and hundreds of opti
|
||||
<% if (cell === "odd") {
|
||||
-%> </tr>
|
||||
<% }}} -%>
|
||||
<tr>
|
||||
<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>
|
||||
</tr>
|
||||
</table>
|
||||
<% } %>
|
||||
|
||||
Reference in New Issue
Block a user