# 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:** 1\
**Showing post:** 2

<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)).

---

_[View the full topic](https://discourse.julialang.org/t/how-to-highlight-julias-code-on-web-using-highlight-js/87786)._
