docs: fix compatibility matrix
This commit is contained in:
@@ -299,7 +299,7 @@ metadata.template = async function({__templates, name, plugins, logger}) {
|
|||||||
demo:readme.match(/(?<demo><table>[\s\S]*?<[/]table>)/)?.groups?.demo?.replace(/<[/]?(?:table|tr)>/g, "")?.trim() ?? (name === "community" ? '<td align="center" colspan="2">See <a href="/source/templates/community/README.md">documentation</a> 🌍</td>' : "<td></td>"),
|
demo:readme.match(/(?<demo><table>[\s\S]*?<[/]table>)/)?.groups?.demo?.replace(/<[/]?(?:table|tr)>/g, "")?.trim() ?? (name === "community" ? '<td align="center" colspan="2">See <a href="/source/templates/community/README.md">documentation</a> 🌍</td>' : "<td></td>"),
|
||||||
compatibility:{
|
compatibility:{
|
||||||
...Object.fromEntries(Object.entries(compatibility).filter(([_, value]) => value)),
|
...Object.fromEntries(Object.entries(compatibility).filter(([_, value]) => value)),
|
||||||
...Object.fromEntries(Object.entries(compatibility).filter(([_, value]) => !value).map(([key, _]) => [key, "embed"])),
|
...Object.fromEntries(Object.entries(compatibility).filter(([_, value]) => !value).map(([key, value]) => [key, meta.formats?.includes("markdown") ? "embed" : value])),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
check({q, account = "bypass", format = null}) {
|
check({q, account = "bypass", format = null}) {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ The *isocalendar* plugin displays an isometric view of your commits calendar, al
|
|||||||
<table>
|
<table>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.isocalendar.svg">
|
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.isocalendar.svg">
|
||||||
<details><summary>Full year version</summary>
|
<details open><summary>Full year version</summary>
|
||||||
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.isocalendar.fullyear.svg">
|
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.isocalendar.fullyear.svg">
|
||||||
</details>
|
</details>
|
||||||
<img width="900" height="1" alt="">
|
<img width="900" height="1" alt="">
|
||||||
|
|||||||
Reference in New Issue
Block a user