Hi there! As you may know, Julia 0.6 is now the stable release of Julia. This version has brought some significant changes to syntax, including to type definitions, free typevars, and infix
isa. While many editor plugins and highlighters have been updated appropriately, a lot of highlighters in the wild don’t yet recognize these things. Some examples include:
which highlights Jupyter notebooks
CodeMirror, which highlights Jupyter notebooks
Google Prettify, which highlights Stack Overflow
This actually has no Julia definition at all, the default highlighter just happens to work surprisingly well on Julia
See here for an existing request for Julia support
- If it uses highlight.js, it might just require updating the version used by Discourse, since that has already been updated for 0.6
(Please let me know if you come across others, and I can update this list accordingly.) Though it has been updated for 0.6, the definition for TextMate could still be vastly improved, and that’s actually what powers GitHub’s highlighting of Julia.
Thus I would like to request help from the community in getting everything updated. Having things nicely highlighted on 0.6 and higher will make us look that much fancier and more impressive.
If you need guidance in terms of what definitions can look like, try checking out the Julia definitions for things like highlight.js, or let me know if you have any questions. Thanks in advance to anyone willing to help out!