embed merge fields into url

embed merge fields into url

we are wanting to pass some case data (mainly case id) to a url query string parameter that is in an email template.

so far, we have been able to use these merge fields in the text content of our templates, but we cannot get the fields to merge in the href of an <a> tag.

is there any way to do this?