# \#forum

**URL:** https://discourse.gohugo.io/tag/forum/138.md

[Latest](https://discourse.gohugo.io/latest.md) · [Categories](https://discourse.gohugo.io/categories.md) · [Tags](https://discourse.gohugo.io/tags.md)

---

## [Highlight template code in discourse forum using highlightjs-hugo](https://discourse.gohugo.io/t/highlight-template-code-in-discourse-forum-using-highlightjs-hugo/57307)

<div class="topic-metadata">

**Author:** [@irkode](https://discourse.gohugo.io/u/irkode)\
**Replies:** 7\
**Last updated:** [September 11, 2026, 10:11am UTC](https://discourse.gohugo.io/t/highlight-template-code-in-discourse-forum-using-highlightjs-hugo/57307 "2026-09-11T10:11:15Z")

</div>

I developed highlight.js grammars and Discourse plugins for Go and Hugo templates. Should be easy to integrate and result in better display of Hugo templates in Discourse. Even without utilizing the advanced stylings …

---

## [Automatic Syntax Highlighting for Hugo templates](https://discourse.gohugo.io/t/automatic-syntax-highlighting-for-hugo-templates/57541)

<div class="topic-metadata">

**Author:** [@irkode](https://discourse.gohugo.io/u/irkode)\
**Replies:** 0\
**Last updated:** [September 10, 2026, 5:43pm UTC](https://discourse.gohugo.io/t/automatic-syntax-highlighting-for-hugo-templates/57541 "2026-09-10T17:43:39Z")

</div>

A while ago automatic syntax highlighting has been added to our forum. That means, it is not necessary anymore to set a fenced code block in the forum to a less breaking language aka ruby php or assigning text. (unless…
