# Can I do any post-/pre-processing to my markdown/html?

**URL:** <https://discourse.gohugo.io/t/can-i-do-any-post-pre-processing-to-my-markdown-html/49153>\
**Category:** support\
**Created:** [April 3, 2024, 1:05am UTC](https://discourse.gohugo.io/t/can-i-do-any-post-pre-processing-to-my-markdown-html/49153 "2024-04-03T01:05:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Agent-E11](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/agent-e11/32/21620_2.png) [@Agent-E11](https://discourse.gohugo.io/u/Agent-E11)\
**Post date:** [April 3, 2024, 1:05am UTC](https://discourse.gohugo.io/t/can-i-do-any-post-pre-processing-to-my-markdown-html/49153/1 "2024-04-03T01:05:23Z")

</div>

I would like to make all my Headings clickable links, possibly with a thing on the side that copies the link to the user’s clipboard. Is this possible? I think it could be achieved if there was some way to run all the resulting HTML files through some sort of post-processor. (After the templating is over)

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [April 3, 2024, 1:15am UTC](https://discourse.gohugo.io/t/can-i-do-any-post-pre-processing-to-my-markdown-html/49153/2 "2024-04-03T01:15:08Z")

</div>

> **[Heading render hooks](https://gohugo.io/render-hooks/headings/)**
>
> Create a heading render hook to override the rendering of Markdown headings to HTML.

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [April 5, 2024, 1:15am UTC](https://discourse.gohugo.io/t/can-i-do-any-post-pre-processing-to-my-markdown-html/49153/3 "2024-04-05T01:15:31Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
