So I used the syntax [Visit OpenAI](https://www.openai.com) in an .md file so the {{item.url}} in the CMS would display the linked URL, but this completely breaks the CMS. So clearly this doesn’t work.
So how do I add a linked URL into a matter field in the .md file?
You can create URLs as data in the frontmatter, but they will not be output as hyperlinks automatically. The frontmatter is simply a data output, so this behavior is correct.
You’ll need to use the workaround of outputting the hyperlink through the template.
However, if you use [Visit OpenAI](https://www.openai.com) in the body text, the output should generate a hyperlink.
This only works for the body text, though, not for the frontmatter.