# Markdown Reference Links in Shortcodes

**URL:** <https://discourse.gohugo.io/t/markdown-reference-links-in-shortcodes/5770>\
**Category:** support\
**Created:** [March 12, 2017, 1:03am UTC](https://discourse.gohugo.io/t/markdown-reference-links-in-shortcodes/5770 "2017-03-12T01:03:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kkenan](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kkenan](https://discourse.gohugo.io/u/kkenan)\
**Post date:** [March 12, 2017, 1:38am UTC](https://discourse.gohugo.io/t/markdown-reference-links-in-shortcodes/5770/3 "2017-03-12T01:38:50Z")

</div>

Thanks for the quick reply. That was the answer I expected and I agree that it would be a non-trivial bit of work to somehow merge the contexts.

If anyone has other workarounds or approaches to avoid writing a URL multiple times in a way that works with shortcodes I’d appreciate it. My workaround works, but is kind of clunky. Maybe if there was an elegant way to reference the parameters defined in the front matter in the markdown…

---

_[View the full topic](https://discourse.gohugo.io/t/markdown-reference-links-in-shortcodes/5770)._
