# How to highlight Julia's code on web using Highlight.js

**URL:** https://discourse.julialang.org/t/how-to-highlight-julias-code-on-web-using-highlight-js/87786
**Category:** General Usage
**Created:** [September 25, 2022, 6:53pm UTC](https://discourse.julialang.org/t/how-to-highlight-julias-code-on-web-using-highlight-js/87786 "2022-09-25T18:53:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Reza-Reza](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@Reza-Reza](https://discourse.julialang.org/u/Reza-Reza)
#### Post date: [September 25, 2022, 6:53pm UTC](https://discourse.julialang.org/t/how-to-highlight-julias-code-on-web-using-highlight-js/87786/1 "2022-09-25T18:53:02Z")

</div>

[Highlight.js](https://highlightjs.org/) does not seem to support Julia. Does anybody know a workaround to add Julia support. I use blogspot service and a [CDN](https://highlightjs.org/download/) service of highlight.js to stylize Python code, which does not work for Julia since it is not supported.

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [September 25, 2022, 9:02pm UTC](https://discourse.julialang.org/t/how-to-highlight-julias-code-on-web-using-highlight-js/87786/2 "2022-09-25T21:02:03Z")

</div>

It does have Julia support, it is just not included in the default bundle. Here is the `julia` style: [https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/languages/julia.min.js](https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/languages/julia.min.js) and the `julia-repl` style: [https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/languages/julia-repl.min.js](https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/languages/julia-repl.min.js)

You can also use and improved version available here: [Improved syntax highlighting for Julia on the web | Fredrik Ekre](https://fredrikekre.se/posts/highlight-julia/) (see also [Improved syntax highlighting for Julia on the web](https://discourse.julialang.org/t/improved-syntax-highlighting-for-julia-on-the-web/49149)).
