# Hugo highlight syntax style

**URL:** <https://discourse.gohugo.io/t/hugo-highlight-syntax-style/18413>\
**Category:** support\
**Created:** [April 30, 2019, 12:55pm UTC](https://discourse.gohugo.io/t/hugo-highlight-syntax-style/18413 "2019-04-30T12:55:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zbych](https://avatars.discourse-cdn.com/v4/letter/z/6f9a4e/32.png) [@Zbych](https://discourse.gohugo.io/u/Zbych)\
**Post date:** [April 30, 2019, 12:55pm UTC](https://discourse.gohugo.io/t/hugo-highlight-syntax-style/18413/1 "2019-04-30T12:55:58Z")

</div>

Hi everyone,

I use exerpt od source code on my site.  
I know that there are some styles for highlight syntax build in hugo but I’d like to to have my own. I want to have the same colors like Intellij IDE has and it is called darcula. Please give me some clues what should I do to achieve this.  
By the way I don’t want to use highlight.js.

Thanks for help in advance  
Zbyszek

---

<div class="post-metadata">

**Author:** ![zwbetz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/zwbetz/32/16088_2.png) [@zwbetz](https://discourse.gohugo.io/u/zwbetz)\
**Post date:** [April 30, 2019, 12:57pm UTC](https://discourse.gohugo.io/t/hugo-highlight-syntax-style/18413/2 "2019-04-30T12:57:35Z")

</div>

Hi, give this a quick read: [https://zwbetz.com/syntax-highlighting-in-hugo-with-chroma/](https://zwbetz.com/syntax-highlighting-in-hugo-with-chroma/)

---

<div class="post-metadata">

**Author:** ![Zbych](https://avatars.discourse-cdn.com/v4/letter/z/6f9a4e/32.png) [@Zbych](https://discourse.gohugo.io/u/Zbych)\
**Post date:** [April 30, 2019, 1:03pm UTC](https://discourse.gohugo.io/t/hugo-highlight-syntax-style/18413/3 "2019-04-30T13:03:04Z")

</div>

Thank for reply, but none of prepared styles are exactly the same as darcula in intellij for java language. I need more customization.

---

<div class="post-metadata">

**Author:** ![zwbetz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/zwbetz/32/16088_2.png) [@zwbetz](https://discourse.gohugo.io/u/zwbetz)\
**Post date:** [April 30, 2019, 1:46pm UTC](https://discourse.gohugo.io/t/hugo-highlight-syntax-style/18413/4 "2019-04-30T13:46:23Z")

</div>

If none of the Chroma styles meet your needs, you’ll have to look into other syntax highlighting options.

Well, if you knew the CSS you wanted, you could make a stylesheet to be used by Chroma but it wouldn’t be trivial
