Update compatibility.md

This commit is contained in:
lowlighter
2021-04-16 12:09:19 +02:00
parent 31c399c80d
commit f0caad6f48

View File

@@ -1,8 +1,8 @@
### 🧰 Template/plugin compatibily matrix
### 🧰 Plugin compatibility matrix
<table>
<tr>
<th nowrap="nowrap">Template\Plugin</th><%# -%>
<th nowrap="nowrap">Template/Plugin</th><%# -%>
<% for (const [plugin, {name, icon}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) { %>
<th nowrap="nowrap" align="center" title="<%= name %>"><%= icon %></th><% } %>
</tr><%# -%>
@@ -13,3 +13,17 @@
<th nowrap="nowrap" align="center" data-plugin="<%= plugin %>"><%= readme.compatibility[plugin] ? "✔️" : "❌" %></th><% } %>
</tr><% } %>
</table>
<table>
<tr>
<th nowrap="nowrap">Mode/Plugin</th><%# -%>
<% for (const [plugin, {name, icon}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) { %>
<th nowrap="nowrap" align="center" title="<%= name %>"><%= icon %></th><% } %>
</tr><%# -%>
<% for (const mode of ["user", "organization", "repository"]) { %>
<tr>
<th nowrap="nowrap"><%- `${mode.charAt(0).toLocaleUpperCase()}${mode.substring(1)}` %></th><%# -%>
<% for (const [plugin, {supports}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) {%>
<th nowrap="nowrap" align="center" data-plugin="<%= plugin %>"><%= supports.includes(mode) ? "✔️" : "❌" %></th><% } %>
</tr><% } %>
</table>