Ember is a JavaScript-based MVC framework and its tag, , probably should use default to using JavaScript syntax highlighting. I'm not sure if this is the best place to ask this; if it's not, please direct me to a more appropriate solution.

  • I didn't even know the tags determined the default syntax highlighting. What happens when there's a mix? – j08691 Sep 17 '12 at 17:20
  • I believe the first tag takes precedence. – jcolebrand Sep 17 '12 at 17:23
  • People should probably be tagging it javascript too. (And why does Ember get special treatment?) – Ry- Sep 17 '12 at 17:35
  • @minitech: Indeed they should, but they don't :P – Matt Sep 17 '12 at 17:37
  • @Matt: So add it and/or tell them about it. I don't see how adding syntax highlighting defaults to frameworks helps anything. – Ry- Sep 17 '12 at 17:38
  • @minitech: Sure we could, but I don't see the harm in adding the highlighting default? – Matt Sep 17 '12 at 17:39
  • ... Mmm although the JavaScript tag by itself isn't a perfect solution in this case... Embers' handlebar templating system creates its own issues: stackoverflow.com/questions/12462381/… – Matt Sep 17 '12 at 17:41
  • @j08691: All the rules can be found here: meta.stackexchange.com/questions/72082/… – BoltClock's a Unicorn Sep 17 '12 at 17:48
  • @minitech: Ember hasn't been the only library to get special treatment. See jQuery (and this highly relevant tweet). – BoltClock's a Unicorn Sep 17 '12 at 17:49
  • @BoltClock'saUnicorn: Well, jQuery's a language now. (- Oh, that's what the tweet says.) – Ry- Sep 17 '12 at 17:51
  • @BoltClock'saUnicorn - thanks for the link. – j08691 Sep 17 '12 at 18:11
  • OK. It had been my understanding that items tagged with JavaScript should be about pure JavaScript not about any specific accompanying tools. I guess I misunderstood that. BTW, is manually specifying the pretty-print/syntax-highlighting no longer supported? I tried to do it here: stackoverflow.com/questions/12193600/… – iX3 Sep 17 '12 at 18:53

I set the highlighting on the tag to "default".

Your example question looks properly highlighted to me now after I rolled back your edit that added the tag.

You must log in to answer this question.

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