Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Currently if a question is tagged only with one of the tags, any code blocks in the question don't get syntax highlighting. Given that WiX is XML based, I think it would be helpful for the tag to trigger XML syntax highlighting.

share|improve this question
As I am elbow deep in wix right now (and frequently trolling the answers in these tags), I've turned it on. Also, ugh. – Won't May 15 '13 at 15:44

You can force a specific set of language highlighting manually (doesn't go into the issue of WiX not being flagged as XML highlighting by default).

You should be able to set in the block the XML language <!-- language: lang-xml --> to force the highlights. If you look at your specific example, the first couple of lines of your post would be:

<Component Id='XYZAppShortcutFr' Guid='XXXXXX'>
<Shortcut Id='ShortcutFr' Name='Démarrer $(var.ShortcutName)' Target='[INSTALLDIR]$(var.TargetEXE)' WorkingDirectory='INSTALLDIR' >
share|improve this answer
I started doing that on some questions but then I realized that editing hundreds of questions didn't seem worth it if it can be done from the administrative side. – vcsjones May 15 '13 at 14:29

You must log in to answer this question.

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