14

For questions like this one which have answers given in code, it would be nice if the site had syntax highlighting available. At the very least, being able to highlight core SO lanaguages such as python would be nice, but support for NASM and other languages common in the reverse engineering field would also be helpful. Is there a known process for enabling syntax highlighting?

5
  • 1
    Here is relevant MetaSO. However, it doesn't seem to be enabled on RE.SE yet.
    – user187
    Apr 8 '13 at 14:55
  • @CamilStaps that question is specifically about specifying the language for the (already enabled) highlighter. It appears that we don't have syntax highlighting at all on RE.SE. Apr 9 '13 at 4:35
  • @JonathonReinhart yeah, I saw that after I edited a language tag into that question.
    – user187
    Apr 9 '13 at 5:17
  • 1
    +1 Syntax Highlighting would be a welcome addition but why not accept all languages like on SO? Just python or NASM is very limited.
    – Remko
    Apr 11 '13 at 8:41
  • @Remko I was attempting to make a distinction between what I know is already supported vs a language that there doesn't seem to be support of for any of the SO sites. I clarified the question to make the distinction.
    – amccormack
    Apr 11 '13 at 15:54
7

Yes please. I fail to see how better annotation tools could make the site worse other than adding to the loading time a bit. In my opinion when it comes to reverse engineering, annotation and presentation is very important.

1
  • What do we need to do to make this happen? Is this something the mods need to bring up to SE higher ups?
    – amccormack
    Apr 27 '13 at 17:56
2

I'd like to revisit this topic. This meta post confirms that syntax highlighting still isn't enabled on this site. Can someone enable it? A question I recently answered is a good example of why it would be really useful.

1
  • admittedly I've never missed it. Could you come up with the other nine examples required to request this officially? If you edit your answer accordingly (and ping me or other mods in a comment) we could see if it's possible and point the respective SE staffers to your edited answer. The cited meta post in its only answer says: post a request on the site's per-site meta and link to some (10 or so) posts where highlighting would be helpful ...
    – 0xC0000022L Mod
    Nov 30 '20 at 10:46
0

The code highlighting for syntax does exist as noted in some of the comments, but it isn't enabled here yet for whatever reason.

For less likely to be available syntax highlighting (insert a language it doesn't work on), I simply link to pastebin and select the appropriate language there.

1
  • 1
    Linking to pastebin is generally not a good idea. We want to have the information here, so that it's still available even when pastebin shuts its services down.
    – user187
    Apr 10 '13 at 5:55

You must log in to answer this question.

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