# Customizing Markdown Links in Hugo

**URL:** <https://discourse.gohugo.io/t/customizing-markdown-links-in-hugo/38628>\
**Category:** tips & tricks\
**Created:** [May 15, 2022, 4:39am UTC](https://discourse.gohugo.io/t/customizing-markdown-links-in-hugo/38628 "2022-05-15T04:39:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![bwintx](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bwintx/32/10450_2.png) [@bwintx](https://discourse.gohugo.io/u/bwintx)\
**Post date:** [May 15, 2022, 2:40pm UTC](https://discourse.gohugo.io/t/customizing-markdown-links-in-hugo/38628/3 "2022-05-15T14:40:11Z")

</div>

Very nice! One note: copied/pasted as-is, the proposed code produces an error. In this part…

```nohighlight
{{ with or .Title $internal.LinkTitle .Test }}

```

… it should say `.Text` rather than `.Test` — otherwise, `hugo server` throws an error (part of which is shown below), then quits:

```bash
can't evaluate field Test in type goldmark.linkContext

```

---

_[View the full topic](https://discourse.gohugo.io/t/customizing-markdown-links-in-hugo/38628)._
