docs(templates): minor changes [skip ci]

This commit is contained in:
lowlighter
2022-01-14 22:21:03 -05:00
parent 9c4315e1e2
commit 12db875ad6
4 changed files with 17 additions and 4 deletions

View File

@@ -389,7 +389,7 @@ metadata.template = async function({__templates, name, plugins, logger}) {
` <tr><td colspan="2" align="center">${(meta.description ?? "").replaceAll("\n", "<br>")}</td></tr>`,
` <tr>`,
` <th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>`,
` <td>${Object.entries(compatibility).filter(([_, value]) => value).map(([id]) => `<a href="/source/plugins/${id}" title="${plugins[id].name}">${plugins[id].icon}</a>`).join(" ")}</td>`,
` <td>${Object.entries(compatibility).filter(([_, value]) => value).map(([id]) => `<a href="/source/plugins/${id}" title="${plugins[id].name}">${plugins[id].icon}</a>`).join(" ")}${meta.formats?.includes("markdown") ? "<code>✓ embed()</code>" : ""}</td>`,
` </tr>`,
` <tr>`,
` <td>${[