# Adding Keywords to Hugo Syntax Highlighters

**URL:** https://discourse.gohugo.io/t/adding-keywords-to-hugo-syntax-highlighters/31413
**Category:** Using Themes
**Created:** [February 24, 2021, 7:47am UTC](https://discourse.gohugo.io/t/adding-keywords-to-hugo-syntax-highlighters/31413 "2021-02-24T07:47:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![heapcrash](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/heapcrash/32/13597_2.png) [@heapcrash](https://discourse.gohugo.io/u/heapcrash)
#### Post date: [February 24, 2021, 7:47am UTC](https://discourse.gohugo.io/t/adding-keywords-to-hugo-syntax-highlighters/31413/1 "2021-02-24T07:47:25Z")

</div>

Is there any way to modify the output of Hugo’s syntax highlighter to treat function call names as something that should be colorized?

For example, `printf(...)` is not currently colorized for `c` syntax, but I would like it to be. What’s the best way to integrate additional colorized symbols into the syntax highlighter?

---

<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: [February 24, 2021, 8:20am UTC](https://discourse.gohugo.io/t/adding-keywords-to-hugo-syntax-highlighters/31413/2 "2021-02-24T08:20:20Z")

</div>

No. If it’s a common thing that should be included you could ask “upstream” at the Chroma project, which is Hugos syntax highlighter.

> **[alecthomas/chroma](https://github.com/alecthomas/chroma)**
>
> A general purpose syntax highlighter in pure Go . Contribute to alecthomas/chroma development by creating an account on GitHub.

If it’s something that you want for yourself there is no easy way to implement it. you could create your own syntax highlight profile, but then you would have to somehow add it to the Hugo repo-clone and compile your Hugo yourself.

But I guess it might be a bug or feature request upstream worth.
