# Link as a function - markdown

**URL:** <https://discourse.gohugo.io/t/link-as-a-function-markdown/16604>\
**Category:** support\
**Created:** [January 24, 2019, 4:23pm UTC](https://discourse.gohugo.io/t/link-as-a-function-markdown/16604 "2019-01-24T16:23:37Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![prophet](https://avatars.discourse-cdn.com/v4/letter/p/838e76/32.png) [@prophet](https://discourse.gohugo.io/u/prophet)\
**Post date:** [January 25, 2019, 3:09pm UTC](https://discourse.gohugo.io/t/link-as-a-function-markdown/16604/21 "2019-01-25T15:09:18Z")

</div>

> **[Create Your Own Shortcodes](https://gohugo.io/templates/shortcode-templates/#create-custom-shortcodes)**
>
> You can extend Hugo's built-in shortcodes by creating your own using the same templating syntax as that for single and list pages.

I didn’t add the folder Shortcodes, I was putting it on the Partials folder. That’s why it wasn’t working. 🙂

So, just created the SHORTCODES folder and now I’m able to call whatever I want from there as a shortcode.

---

<div class="post-metadata">

**Author:** ![zwbetz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/zwbetz/32/16088_2.png) [@zwbetz](https://discourse.gohugo.io/u/zwbetz)\
**Post date:** [January 25, 2019, 3:11pm UTC](https://discourse.gohugo.io/t/link-as-a-function-markdown/16604/22 "2019-01-25T15:11:41Z")

</div>

Glad you figured it out.

FYI this is why we usually encourage code sharing of your entire project early on, as this error would have been caught immediately.

---

<div class="post-metadata">

**Author:** ![prophet](https://avatars.discourse-cdn.com/v4/letter/p/838e76/32.png) [@prophet](https://discourse.gohugo.io/u/prophet)\
**Post date:** [January 25, 2019, 3:13pm UTC](https://discourse.gohugo.io/t/link-as-a-function-markdown/16604/23 "2019-01-25T15:13:05Z")

</div>

Yes, thank you for the help

[Previous page](https://discourse.gohugo.io/t/link-as-a-function-markdown/16604.md?page=1)
