Adding PHP option to Template node's Syntax Highlight

For discussion (or merge, please please please):

Technically this should be in dev branch as a "feature request" vs master as "bug fix"; not sure how this got appended to my initial pull request. It should be separate; apologies for any confusion. The logic behind this change is as follows:

  • Support is trivial, baked in, and just needed an entry in the select drop down.
  • PHP runs a majority chunk of the web (well over 75% of the web)
  • PHP is in the top 3 languages on GitHub, above Python and JavaScript

While there are limited nodes that leverage/have to do with PHP, I will be releasing dozens of open source nodes that leverage it. Adding this simple "fix" to the native template node would help heaps!

1 Like