docs: improve community plugins
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
elements.push(["", {readme:{demo:`<td align="center"><img width="900" height="1" alt=""></td>`}}])
|
||||
for (let i = 0; i < elements.length; i+=2) {
|
||||
const cells = [["even", elements[i]], ["odd", elements[i+1]]]
|
||||
for (const [cell, [plugin, {name, readme}]] of cells) {
|
||||
for (const [cell, [plugin, {name, readme, authors}]] of cells) {
|
||||
if (cell === "even") { %> <tr><% } %>
|
||||
<th><% if (plugin) { %><a href="/source/plugins/community/<%= plugin %>/README.md"><%= name -%></a><% } %></th><%
|
||||
<th><% if (plugin) { %><a href="/source/plugins/community/<%= plugin %>/README.md"><%= name -%></a><br><sup>by <%- authors.map(author => `<a href="https://github.com/${author}">@${author}</a>`).join(" ") %></sup><% } %></th><%
|
||||
if (cell === "odd") { %>
|
||||
</tr>
|
||||
<% }}
|
||||
|
||||
Reference in New Issue
Block a user