Is there a way to style a table's cell based on its contents?

Maybe something like this:

#show table.cell: it => {
  show regex("^\*.*\*$"): it => strong(it.text.slice(1, -1))
  it
}
2 Likes