# Chroma style gallery no longer works

**URL:** <https://discourse.gohugo.io/t/chroma-style-gallery-no-longer-works/50636>\
**Category:** support\
**Tags:** highlight\
**Created:** [July 10, 2024, 8:39am UTC](https://discourse.gohugo.io/t/chroma-style-gallery-no-longer-works/50636 "2024-07-10T08:39:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![loikein](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/loikein/32/19230_2.png) [@loikein](https://discourse.gohugo.io/u/loikein)\
**Post date:** [July 10, 2024, 8:39am UTC](https://discourse.gohugo.io/t/chroma-style-gallery-no-longer-works/50636/1 "2024-07-10T08:39:59Z")

</div>

The [Chroma Style Gallery](https://xyproto.github.io/splash/docs/) that is referred to as style reference in syntax highlighting docs has been slow in updating new chroma styles, and now only contains two styles.

Would it be possible for Hugo to create and host an up-to-date style gallery?

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [July 10, 2024, 9:43am UTC](https://discourse.gohugo.io/t/chroma-style-gallery-no-longer-works/50636/2 "2024-07-10T09:43:49Z")

</div>

> [@loikein](#):
>
> Would it be possible for Hugo to create and host an up-to-date style gallery?

I would say that no, that’s not practical.

---

<div class="post-metadata">

**Author:** ![loikein](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/loikein/32/19230_2.png) [@loikein](https://discourse.gohugo.io/u/loikein)\
**Post date:** [July 10, 2024, 4:51pm UTC](https://discourse.gohugo.io/t/chroma-style-gallery-no-longer-works/50636/3 "2024-07-10T16:51:47Z")

</div>

Thank you for the reply.

In that case, it would be nice if the Hugo documentation could instead point to some alternative showcase websites.

Just looked around for a bit, for example, this one which seems to be by Chroma’s author: [Chroma Playground (v2.14.0)](https://swapoff.org/chroma/playground/)

---

<div class="post-metadata">

**Author:** ![irkode](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/irkode/32/26135_2.png) [@irkode](https://discourse.gohugo.io/u/irkode)\
**Post date:** [July 10, 2024, 5:02pm UTC](https://discourse.gohugo.io/t/chroma-style-gallery-no-longer-works/50636/4 "2024-07-10T17:02:17Z")

</div>

Did you try to address that on the chroma issue tracker. [Issues · alecthomas/chroma · GitHub](https://github.com/alecthomas/chroma/issues)

Might just be some glitch there

---

<div class="post-metadata">

**Author:** ![loikein](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/loikein/32/19230_2.png) [@loikein](https://discourse.gohugo.io/u/loikein)\
**Post date:** [July 10, 2024, 5:09pm UTC](https://discourse.gohugo.io/t/chroma-style-gallery-no-longer-works/50636/5 "2024-07-10T17:09:19Z")

</div>

The gallery is not maintained by Chroma’s main developers. Although there is already [an issue over the corresponding repository](https://github.com/xyproto/splash/issues/6), it doesn’t feel like it’s going anywhere soon…

---

<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:** [July 10, 2024, 5:26pm UTC](https://discourse.gohugo.io/t/chroma-style-gallery-no-longer-works/50636/6 "2024-07-10T17:26:26Z")

</div>

This might be helpful while we’re waiting for the fix:  
[https://www.veriphor.com/articles/syntax-highlighting-styles/](https://www.veriphor.com/articles/syntax-highlighting-styles/)

---

<div class="post-metadata">

**Author:** ![loikein](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/loikein/32/19230_2.png) [@loikein](https://discourse.gohugo.io/u/loikein)\
**Post date:** [July 10, 2024, 5:52pm UTC](https://discourse.gohugo.io/t/chroma-style-gallery-no-longer-works/50636/7 "2024-07-10T17:52:01Z")

</div>

Wow. To be honest, this is even more practical than the gallery. Thank you so much.

---

<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:** [July 12, 2024, 5:53pm UTC](https://discourse.gohugo.io/t/chroma-style-gallery-no-longer-works/50636/8 "2024-07-12T17:53:03Z")

</div>

Closed on July 12, 2024, 5:53pm UTC

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