# Goldmark render hooks for footnotes

**URL:** <https://discourse.gohugo.io/t/goldmark-render-hooks-for-footnotes/32317>\
**Category:** feature\
**Tags:** footnotes\
**Created:** [April 11, 2021, 10:14pm UTC](https://discourse.gohugo.io/t/goldmark-render-hooks-for-footnotes/32317 "2021-04-11T22:14:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![swamidass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/swamidass/32/13323_2.png) [@swamidass](https://discourse.gohugo.io/u/swamidass)\
**Post date:** [April 11, 2021, 10:14pm UTC](https://discourse.gohugo.io/t/goldmark-render-hooks-for-footnotes/32317/1 "2021-04-11T22:14:49Z")

</div>

This is really valuable for our use case. Has there been any progress on this pull request?

> <https://github.com/gohugoio/hugo/pull/7427>
>
> This pull request will allow footnote/endnote customization with Goldmark via th…e footnote extension render hooks Goldmark provides.
> 
> I simplified the Hugo-side render hooks API from what Goldmark exposes and made the way they work for the Hugo end user much more idiomatic in terms of Hugo. There are just two new render templates: footnote-link (the superscript index in flow) and footnotes (all the notes at the bottom, ranged over)
> 
> See #7291
> See #6807
> See #6804

---

<div class="post-metadata">

**Author:** ![davidsneighbour](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/davidsneighbour/32/24507_2.png) [@davidsneighbour](https://discourse.gohugo.io/u/davidsneighbour)\
**Post date:** [April 12, 2021, 12:46pm UTC](https://discourse.gohugo.io/t/goldmark-render-hooks-for-footnotes/32317/2 "2021-04-12T12:46:33Z")

</div>

“at a later time” typically does not mean in 4 months, more like a year or more.

Your usercase can be done with shortcodes. One to add footnotes that uses scratch to collect the information and prints the link to the footnote and one to display all footnotes of a page. You should go in this direction if you need it right now.
