# REPL syntax highlighting with StyledStrings

**URL:** <https://discourse.julialang.org/t/repl-syntax-highlighting-with-styledstrings/125708>\
**Category:** Internals & Design\
**Created:** [February 9, 2025, 5:24pm UTC](https://discourse.julialang.org/t/repl-syntax-highlighting-with-styledstrings/125708 "2025-02-09T17:24:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![CameronBieganek](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cameronbieganek/32/6915_2.png) [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Post date:** [February 9, 2025, 5:24pm UTC](https://discourse.julialang.org/t/repl-syntax-highlighting-with-styledstrings/125708/1 "2025-02-09T17:24:23Z")

</div>

A while ago somewhere I saw a screen shot of the Julia REPL with syntax highlighting provided by StyledStrings, but I haven’t heard anything about it since then. Is that still in the works?

@tecosaur

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [February 9, 2025, 5:46pm UTC](https://discourse.julialang.org/t/repl-syntax-highlighting-with-styledstrings/125708/2 "2025-02-09T17:46:52Z")

</div>

There’s this [GitHub - JuliaLang/JuliaSyntaxHighlighting.jl](https://github.com/JuliaLang/JuliaSyntaxHighlighting.jl) introduced in 1.12 via this PR [Introduce new syntax highlighting stdlib by tecosaur · Pull Request #51810 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/pull/51810)

---

<div class="post-metadata">

**Author:** ![CameronBieganek](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cameronbieganek/32/6915_2.png) [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Post date:** [February 9, 2025, 6:08pm UTC](https://discourse.julialang.org/t/repl-syntax-highlighting-with-styledstrings/125708/3 "2025-02-09T18:08:19Z")

</div>

Awesome, thanks! Though I see that after that PR was merged, the JuliaSyntaxHighlighting stdlib was later removed from 1.11 in this PR:

> <https://github.com/JuliaLang/julia/pull/55217>
>
> Fixes https://github.com/JuliaLang/julia/issues/55023

Was it later added back in for 1.12?

---

<div class="post-metadata">

**Author:** ![tecosaur](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tecosaur/32/23206_2.png) [@tecosaur](https://discourse.julialang.org/u/tecosaur)\
**Post date:** [February 10, 2025, 5:23am UTC](https://discourse.julialang.org/t/repl-syntax-highlighting-with-styledstrings/125708/4 "2025-02-10T05:23:46Z")

</div>

> [@CameronBieganek](#):
>
> A while ago somewhere I saw a screen shot of the Julia REPL with syntax highlighting provided by StyledStrings, but I haven’t heard anything about it since then. Is that still in the works?

This sounds like one of my prototypes/experiments, I’ve done a few with StyledStrings but haven’t had the time to turn many of them into PR-quality code.

> [@CameronBieganek](#):
>
> Was it later added back in for 1.12?

Yes, you can see it used in Julia code blocks in docstrings.
