@@ -125,23 +125,29 @@ Define the style of the tables printed with the markdown back end.
125125- `stubhead_label::MarkdownStyle`: Style for the stubhead label. 
126126- `row_label::MarkdownStyle`: Style for the row label. 
127127- `row_group_label::MarkdownStyle`: Style for the row group label. 
128- - `first_column_label::MarkdownStyle`: Style for the first line of the  column 
129-     labels. 
130- - `column_label::MarkdownStyle`: Style for the column label. 
128+ - `first_line_column_label::Union{MarkdownStyle, Vector{MarkdownStyle}}`: Style for the 
129+     first line of the column label. If a vector of `MarkdownStyle` is provided, each column 
130+     label in the first line will use the corresponding style. 
131+ - `column_label::Union{MarkdownStyle, Vector{MarkdownStyle}}`: Style for the column label. 
132+     If a vector of `MarkdownStyle` is provided, each column label will use the corresponding 
133+     style. 
131134- `summary_row_label::MarkdownStyle`: Style for the summary row label. 
132135- `summary_row_cell::MarkdownStyle`: Style for the summary row cell. 
133136- `footnote::MarkdownStyle`: Style for the footnote. 
134137- `source_note::MarkdownStyle`: Style for the source note. 
135138- `omitted_cell_summary::MarkdownStyle`: Style for the omitted cell summary. 
136139""" 
137- @kwdef  struct  MarkdownTableStyle
140+ @kwdef  struct  MarkdownTableStyle{
141+     TFCL<: Union{MarkdownStyle, Vector{MarkdownStyle}} ,
142+     TCL<: Union{MarkdownStyle, Vector{MarkdownStyle}} 
143+ }
138144    row_number_label:: MarkdownStyle      =  _MARKDOWN__BOLD
139145    row_number:: MarkdownStyle            =  _MARKDOWN__BOLD
140146    stubhead_label:: MarkdownStyle        =  _MARKDOWN__BOLD
141147    row_label:: MarkdownStyle             =  _MARKDOWN__BOLD
142148    row_group_label:: MarkdownStyle       =  _MARKDOWN__BOLD
143-     first_column_label :: MarkdownStyle    =  _MARKDOWN__BOLD
144-     column_label:: MarkdownStyle          =  _MARKDOWN__CODE
149+     first_line_column_label :: TFCL         =  _MARKDOWN__BOLD
150+     column_label:: TCL                     =  _MARKDOWN__CODE
145151    summary_row_label:: MarkdownStyle     =  _MARKDOWN__BOLD
146152    summary_row_cell:: MarkdownStyle      =  _MARKDOWN__NO_DECORATION
147153    footnote:: MarkdownStyle              =  _MARKDOWN__NO_DECORATION
0 commit comments