[TASK] Configurable table head

This patch adds configurable rendering of ``th`` tags for the first row or first column of a table.