Skip to content

Commit 5224acd

Browse files
committed
Update compatibility.md
1 parent 74051c5 commit 5224acd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/readme/partials/documentation/compatibility.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@
88
</tr><%# -%>
99
<% for (const [template, {name, readme}] of Object.entries(templates).filter(([key, value]) => (value)&&(!["community"].includes(key)))) { %>
1010
<tr>
11-
<th nowrap="nowrap"><%- name %></th><%# -%>
11+
<td nowrap="nowrap"><%- name %></td><%# -%>
1212
<% for (const [plugin] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) { %>
13-
<th nowrap="nowrap" align="center" data-plugin="<%= plugin %>"><%= readme.compatibility[plugin] ? "✔️" : "❌" %></th><% } %>
13+
<td nowrap="nowrap" align="center" data-plugin="<%= plugin %>"><%= readme.compatibility[plugin] ? "✔️" : "❌" %></td><% } %>
1414
</tr><% } %>
15-
</table>
16-
17-
<table>
15+
<tr>
16+
<td colspan="<%= Object.keys(plugins).length %>"></td>
17+
</tr>
1818
<tr>
1919
<th nowrap="nowrap">Mode/Plugin</th><%# -%>
2020
<% for (const [plugin, {name, icon}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) { %>
2121
<th nowrap="nowrap" align="center" title="<%= name %>"><%= icon %></th><% } %>
2222
</tr><%# -%>
23-
<% for (const mode of ["user", "organization", "repository"]) { %>
23+
<% for (const {mode, icon} of [{mode:"user", icon:"👤"}, {mode:"organization", icon:"👥"}, {mode:"repository", icon:"📓"}]) { %>
2424
<tr>
25-
<th nowrap="nowrap"><%- `${mode.charAt(0).toLocaleUpperCase()}${mode.substring(1)}` %></th><%# -%>
25+
<td nowrap="nowrap"><%= icon %> <%- `${mode.charAt(0).toLocaleUpperCase()}${mode.substring(1)}` %></td><%# -%>
2626
<% for (const [plugin, {supports}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) {%>
27-
<th nowrap="nowrap" align="center" data-plugin="<%= plugin %>"><%= supports.includes(mode) ? "✔️" : "❌" %></th><% } %>
27+
<td nowrap="nowrap" align="center" data-plugin="<%= plugin %>"><%= supports.includes(mode) ? "✔️" : "❌" %></td><% } %>
2828
</tr><% } %>
2929
</table>

0 commit comments

Comments
 (0)