htmlTable = (data) => {
const row = (row, r) => `<tr align="right"><td style="font-weight:bold">${r * row.length}</td>${row.map(cell).join("")}</tr>`;
const cell = (c) => `<td>${c}</td>`;
const head = (_, c) => `<th style="text-align:right;">${c}</th>`;
const h = `<tr><th/>${data[0].map(head).join("")}</tr>`;
const vv = h + data.map(row).join("")
return md`<table style="font-family:monospace;">${vv}</table>`;
}