11

The Sith lord Tim has granted us the usage of syntax highlighting for GD.SE but since this isn’t automatically highlighted, the mods have to assign the language syntax to the tag. If you see a tag assigned to a question that could use syntax highlighting for GD.SE, suggest it here. Please place each tag suggestion in its own answer so we can mark if we completed or denied your request.

Completed

8
  • 4
    Worth noting that you can explicitly activate specific language highlighting (regardless of tags) by using comment hints above your code (e.g. <!-- language: lang-js -->)
    – Cai
    Sep 28, 2016 at 7:14
  • 2
  • InDesign, Illustrator, and Photoshop "support[s] scripts written in AppleScript (on Mac OS), VBScript (on Windows) or JavaScript (on either OS)." Note the multiple languages. On Stack Overflow, each language has a tag on its own in addition to the application.
    – Jongware
    Sep 28, 2016 at 16:17
  • @RadLexus I was going to suggest taking the highlighting off the generic scripting tags and having specific language tags but from what I can tell there is no AppleScript highlighting available and I don't remember the last time I saw any VB, so I don't know if it's worth it.
    – Cai
    Sep 29, 2016 at 22:05
  • @Cai applescript highlighting works with the default but the question should be asked what language is being used with the applescript and we should apply that tag for it, ie JavaScript Sep 29, 2016 at 22:08
  • Thanks for adding the possibility - that's so much better. The OP didn't mention XML or XSLT so I added the magic language line manually. Still, a huge improvement.
    – Jongware
    Oct 1, 2016 at 21:19
  • 1
    Is there some limit to languages? I tried to tag some of my answers <!-- language: lang-py -->, <!-- language: python --> and <!-- language: lang-python --> to no avail. I do have python answers here, here, here, here and here to name a few.
    – joojaa
    Oct 6, 2016 at 6:22
  • Make an answer and i will work on it tomorrow when I have time Oct 6, 2016 at 6:23

4 Answers 4

3
1
1

I have noticed that manually entering a language tag does not seem to work. I have tried to mark my python answers with:

  • <!-- language: lang-py -->
  • <!-- language: python -->
  • <!-- language: lang-python -->

But it did not seem to do anything. Is mannually marking the language not supported?

Some examples of answers in python (mostly mine):

1
1
2
  • Why not have all this be in the same answer? :P Oct 9, 2016 at 14:29
  • Why does it matter? Plus i get pinged everytime someone leaves an answer. Oct 9, 2016 at 15:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .