# Syntax highlighter is not updated?

**URL:** <https://community.wolfram.com/t/syntax-highlighter-is-not-updated/7469>\
**Category:** Questions\
**Created:** [December 15, 2015, 10:29pm UTC](https://community.wolfram.com/t/syntax-highlighter-is-not-updated/7469 "2015-12-15T22:29:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sghuisman](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/sghuisman/32/27850_2.png) [@sghuisman](https://community.wolfram.com/u/sghuisman)\
**Post date:** [December 15, 2015, 10:29pm UTC](https://community.wolfram.com/t/syntax-highlighter-is-not-updated/7469/1 "2015-12-15T22:29:53Z")

</div>

[@Vitaliy Kaurov](http://community.wolfram.com/web/vitaliyk) Why is `TravelDirections` not detected as a built-in function (show in black)?:

```
Identity[TravelDirections[a,b]]

```

Identity is properly recognised, but TravelDirections not. Is it not recognising all the V10.3 functions yet?

---

<div class="post-metadata">

**Author:** ![Vitaliyk](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/vitaliyk/32/45591_2.png) [@Vitaliyk](https://community.wolfram.com/u/Vitaliyk)\
**Post date:** [December 15, 2015, 11:24pm UTC](https://community.wolfram.com/t/syntax-highlighter-is-not-updated/7469/2 "2015-12-15T23:24:55Z")

</div>

Community syntax highlighter has different update cycle than WL. It will soon have **TravelDirections** too.

---

<div class="post-metadata">

**Author:** ![sghuisman](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/sghuisman/32/27850_2.png) [@sghuisman](https://community.wolfram.com/u/sghuisman)\
**Post date:** [December 15, 2015, 11:33pm UTC](https://community.wolfram.com/t/syntax-highlighter-is-not-updated/7469/3 "2015-12-15T23:33:19Z")

</div>

Thanks for clarifying!

---

<div class="post-metadata">

**Author:** ![pscheibe](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/pscheibe/32/46548_2.png) [@pscheibe](https://community.wolfram.com/u/pscheibe)\
**Post date:** [January 22, 2016, 11:57am UTC](https://community.wolfram.com/t/syntax-highlighter-is-not-updated/7469/4 "2016-01-22T11:57:23Z")

</div>

When you inspect the community code then you find that it uses google-prettify with [this _Mathematica_ language plugin](http://community.wolfram.com/community-theme/js/prettify/lang-mma.js). I haven’t had time to update the list of keywords in the [repository on GitHub](https://github.com/halirutan/Mathematica-Source-Highlighting) to version 10.3.1 but I did exactly this for the [IntelliJ IDEA Plugin](https://github.com/halirutan/Mathematica-IntelliJ-Plugin) last night.

Maybe I will find time to update the google-prettify script too and then, as soon as Vitaliy pulls my changes to this site, you will have all built-in functions in black again.

Cheers  
Patrick

---

<div class="post-metadata">

**Author:** ![pscheibe](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/pscheibe/32/46548_2.png) [@pscheibe](https://community.wolfram.com/u/pscheibe)\
**Post date:** [January 22, 2016, 12:43pm UTC](https://community.wolfram.com/t/syntax-highlighter-is-not-updated/7469/5 "2016-01-22T12:43:14Z")

</div>

I thought I should update it better now than never. Please find the updated repository in the master-branch here

- [Mathematica-Source-Highlighting on GitHub](https://github.com/halirutan/Mathematica-Source-Highlighting)

If you have any question Vitaliy, don’t hesitate to ask.

Cheers  
Patrick

---

<div class="post-metadata">

**Author:** ![sghuisman](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/sghuisman/32/27850_2.png) [@sghuisman](https://community.wolfram.com/u/sghuisman)\
**Post date:** [January 22, 2016, 3:28pm UTC](https://community.wolfram.com/t/syntax-highlighter-is-not-updated/7469/6 "2016-01-22T15:28:35Z")

</div>

Thanks very neat! I guess you (mostly) automated this process? Is it a Mathematica script? We can make (more) sure [@Vitaliy Kaurov](http://community.wolfram.com/web/vitaliyk) sees this by mentioning him like I just did…

---

<div class="post-metadata">

**Author:** ![pscheibe](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/pscheibe/32/46548_2.png) [@pscheibe](https://community.wolfram.com/u/pscheibe)\
**Post date:** [January 22, 2016, 4:31pm UTC](https://community.wolfram.com/t/syntax-highlighter-is-not-updated/7469/7 "2016-01-22T16:31:50Z")

</div>

Since I replied directly to Vitaliy’s post, he should get a notification without explicitly pinging him, but it can’t hurt.

I have a small package that extracts built-in symbols and named characters automatically, yes. Getting symbols from a specific context like `System` ` is easy. The named characters are extracted from [here](http://reference.wolfram.com/language/guide/ListingOfNamedCharacters.html) automatically. After that, everything is transformed so that I only have to replace it in the JavaScript files.

So if Wolfram doesn’t change something fundamental, it is mostly automatic, yes.

---

<div class="post-metadata">

**Author:** ![sghuisman](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/sghuisman/32/27850_2.png) [@sghuisman](https://community.wolfram.com/u/sghuisman)\
**Post date:** [January 22, 2016, 4:42pm UTC](https://community.wolfram.com/t/syntax-highlighter-is-not-updated/7469/8 "2016-01-22T16:42:17Z")

</div>

You get the characters from the website? or from the documentation notebook like:

```
tmp=Import["/Applications/Mathematica.app/Contents/Documentation/English/System/Guides/ListingOfNamedCharacters.nb"];
Cases[tmp,Cell[b_,"InlineCharacterName",ShowSpecialCharacters->False]:>b,\[Infinity]]

```

---

<div class="post-metadata">

**Author:** ![Vitaliyk](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/vitaliyk/32/45591_2.png) [@Vitaliyk](https://community.wolfram.com/u/Vitaliyk)\
**Post date:** [January 26, 2016, 7:27pm UTC](https://community.wolfram.com/t/syntax-highlighter-is-not-updated/7469/9 "2016-01-26T19:27:01Z")

</div>

Apologies for the late response, I was on long trip.

[@Patrick Scheibe](http://community.wolfram.com/web/pscheibe) thank you for the update! We will most certainly pull it in. We were also updating functions’ list independently of your updates. We do not tightly attach them to WL releases but rather to some Community internal releases though. It will appear updated at some point.
