Julia syntax highlighting is broken

Announcements, comments, ideas, feedback, and "How do I... ?" questions
Post Reply
User avatar
reinermartin
Posts: 37
Joined: Sat Mar 09, 2019 8:38 pm
Location: Bad Soden, Germany

Julia syntax highlighting is broken

Post by reinermartin »

The syntax highlighting for Julia seems to be broken for a while now. It can be seen for example in my forum posts on the recent problems (I post for most of them). A specific example is https://projecteuler.net/thread=739#373260.

I had written about this under the topic "Add Julia Language" under "Programming languages", but that was probably not visible enough, so I am adding this as a new topic.

As I understand, syntax highlighting depends on highlight.js, and Julia seems to be available from https://highlightjs.org/download/. Maybe it just needs to be installed on the server?

I know that as the current top solver for Julia my interest in this is probably inflated, but I would be much obliged if someone could have a look at this.
Image
User avatar
euler
Administrator
Posts: 3634
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: Julia syntax highlighting is broken

Post by euler »

I've added Julia to the supported list.
Image
impudens simia et macrologus profundus fabulae
User avatar
reinermartin
Posts: 37
Joined: Sat Mar 09, 2019 8:38 pm
Location: Bad Soden, Germany

Re: Julia syntax highlighting is broken

Post by reinermartin »

Excellent, looks good now, thanks euler
Image
User avatar
ricoter
Posts: 1
Joined: Mon Mar 15, 2021 11:01 am

Re: Julia syntax highlighting is broken

Post by ricoter »

The Julia syntax also seems to be broken for me, here is an example: https://projecteuler.net/action=redirect;post_id=378674
User avatar
euler
Administrator
Posts: 3634
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: Julia syntax highlighting is broken

Post by euler »

Thanks for reporting, ricoter. It should be fixed now.
Image
impudens simia et macrologus profundus fabulae
Post Reply