How should I avoid the base url using markdownify "[google]("

I would like to be able to set a Site.Params value that is free text passed through markdownify that may or may not contain a url to an external site without prepending the base url:


baseurl = ""

text = "This text should contain a link to [googles website]("


    {{ with Site.Params.text }}{{ . | Markdownify}}

The above gives a link to “http://localhost:1313/” which i suppose would have my baseURL prepended if I deployed it.

How can I get the paragraph div to render “This text should contain a link to googles website” with a link to

Use the full address like this: [googles website](


Yep, as frjo points out, you’ve provided a relative URL. Adding the protocol should clear that up. :slight_smile: