Hi @Vaclav_Bocan ,
I had success with
#figure(
context { my_table },
caption: flex-caption([This is the table caption], [This is the outline caption]),
)<link_my_table>
@link_my_table
Not sure if that helps as the previous posted solution works as well. EDIT: I guess be careful about not adding unnecessary line breaks if using the square brackets.