Version of highlight.js is outdated

As far as I know discourse is using highlight.js for syntax highlighting.
Would it be possible to update discourse to the newest version of highlight.js ?

1 Like

In particular, the most recent version of highlight.js (as of this writing, 9.12.0) contains updates to the Julia language definition. More recent Julia versions brought significant changes to some aspects of the syntax, and those are not properly captured in the old Julia definitions in highlight.js, so posts in the Julia Discourse forum that use modern syntax look kind of funky.

2 Likes

Sure @sam is working on related stuff and can look into this soon.

I just updated highlight.js to 9.12.0 thanks to the highlightjs:update rake task :thumbsup:

7 Likes