Is there a way to expand references in markdown widget?

Hi ! I’m using a markdown template following this example but it does not expand reference columns. Is there a way to make it so my pretty template shows real data ?

EDIT : i saw that in the example linked, there is a way to expand references but it’s column by column but i’d like to expand about 50 references, so my question was rather : is there a way to make it expand all references it comes across ?

hi. Have you tried using python to go through all fields and concatenate their content on a string? You can then use the resulting string as input for the markdown widget.

I think that’s what the code in the example does : read a line’s data, put it in a dictionary and then make it available to a template…