How to highlight REPL examples in (GitHub) README.md

I’m trying to highlight REPL examples in a standalone README.md file. How do I hint to GitHub that this should be stylized as a Julia REPL session? I know that standard Julia can be highlighted using the ```julia``` tag. Julia base suggests using ```julia-repl``` (Documentation · The Julia Language) and Documenter.jl uses ```jldoctest```, but I’m looking for something that works on GitHub’s default viewer. Using the basic ```julia``` tags does work to some extent, but it clashes with the REPL prompt and makes it harder to understand what’s code and what’s output at first glance.


Image showing GitHub highlighting Julia code using ```julia [...]```


Example with Documenter.jl (and ```jldoctest``` AFAICT? (which is not supported by GitHub either))

I was also interested in this and found some information. It seems that julia-repl does syntax highlighting on the code lines but not the output or prompt.

Github’s list of languages supported for syntax highlighting is documented here: linguist/vendor at 39fd5e93de98de3434cb3e857c5b1972c418f8c5 · github-linguist/linguist · GitHub

There is an open issue and draft PR to update add the prompt hightlighting: