# No syntax highlighting here?

**URL:** <https://discourse.julialang.org/t/no-syntax-highlighting-here/106674>\
**Category:** Meta Discussion\
**Created:** [November 24, 2023, 12:02pm UTC](https://discourse.julialang.org/t/no-syntax-highlighting-here/106674 "2023-11-24T12:02:25Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [November 28, 2023, 2:38pm UTC](https://discourse.julialang.org/t/no-syntax-highlighting-here/106674/13 "2023-11-28T14:38:12Z")

</div>

If anyone is interested in some CSS’ing, it’s all a matter of themeing. I’m always happy to take suggestions on this — see, e.g., [Adding support for `julia-repl` syntax highlighting - #7 by g-gundam](https://discourse.julialang.org/t/adding-support-for-julia-repl-syntax-highlighting/104357/7).

```julia-repl
julia> if a<1.2 || b=="s" && c in Dict(:a=>'f'); 1::Int end

```

The highlights.js library puts these classes on the above:

```html
<span class="hljs-meta prompt_">julia&gt;</span>
<span class="language-julia">
    <span class="hljs-keyword">if</span>
    a&lt;
    <span class="hljs-number">1.2</span>
    || b==
    <span class="hljs-string">"s"</span>
    &amp;&amp; c 
    <span class="hljs-keyword">in</span>
    <span class="hljs-built_in">Dict</span>
    (:a=&gt;
    <span class="hljs-string">'f'</span>
    ); 
    <span class="hljs-number">1</span>
    ::
    <span class="hljs-built_in">Int</span>
    <span class="hljs-keyword">end</span>
</span>

```

The HTML highlighting is much more colorful as its markup is so standard that it tags pretty much everything, including things that don’t make much sense in Julia’s syntax (e.g., tags, names, attrs, etc).

---

_[View the full topic](https://discourse.julialang.org/t/no-syntax-highlighting-here/106674)._
