Heatmap table / conditionnal formatting

Thank you both ! works like a charm.


Now, the solution I went with really bother me, so i’m trying to use show rules to target a column. I saw this forum post with a regex solution, so I tried targetting the numbers:

#show table: it => {
  show regex("^\d*\.?\d+$"): content => {
    show table.cell.where(body: content): set table.cell(fill: blue)
    set text(fill: red)
    content
  }
  it
}

The numbers are in red, but the cell color isn’t blue…