Render HTML link with YAML

I’ve the file config.yaml that contains variables that allow the user to choose their own text for the theme instead of the default one. One type of variable is a description and it would be nice if the user could enter a url inside the description, that will be rendered as a fully functional link in HTML.

Is it possible to interpret a YAML string that way in Hugo?

The easiest (for the user, anhow) is probably to use markdown, so in config.yaml the user types:

This is **bold** text with a [url](

And then in template

{{ .Site.Params.someparam | markdownify }}

I’ve also files in the Data folder written in yaml that could be converted to markdown. Is it possible to create variables in markdown that can be accessed inside a template?


Thanks for your help so far.