Bases: formula combining link and string

For my movie database, I want to combine multiple YAML keys onto one line.

My YAML is constructed as:

medium:
- series
broadcaster: 
- "[[Amazon Prime]]"

Preferably the outcome would be for example: series (Amazon Prime). Where “Amazon Prime” would be clickable as a link.

When only using broadcaster I get the desired result, namely a clickable link. but when adding anything else (like the brackets) the link disappears and only string-text appears.
I’ve tried formula’s like medium+" ("+broadcaster+")" and other elaborate formulas to contruct a link, but as soon as I add the + to expand the formula the link breaks.

Any help on constructing the single line with both strings and links would be very helpful!!

Do you mind if there’s a little bit of space inside the parentheses?

That method makes a list of your two lists then displays them all inline, to preserve links:

[medium, "(", broadcaster.map(value), ")"].flat()

It’s designed for your example YAML of two lists with one value each. I didn’t know what you would want to display when you have multiple values, like:

If you want that to look differently, can you describe?

1 Like