How to Show a Table

In crosscompute 0.9, tables are expected to be in JSON format.

table.to_json(output_folder / 'table.json', orient='split')

You can then style your tables using CSS.

table, th, td {
  border: 1px solid #808080;
  border-collapse: collapse;
}

th:first-child {
  text-align: left;
}

th, td {
  padding: 0.1em 0.5em 0.1em 0.5em;
}

.table1 td:not(:first-child) {
  text-align: right;
}