8
$\begingroup$

Is code syntax highlighting turned on for Signal Processing?

The matlab code I posted in response to What are high frequencies and low frequencies in a signal? did not get syntax highlighted. I posted the same code to Code Review here, where it did get highlighted.

$\endgroup$
2
  • $\begingroup$ The subsequent request from 2021: Can we get code highlighting turned on, please? $\endgroup$
    – V2Blast
    Commented Aug 5, 2022 at 17:05
  • $\begingroup$ I can't believe this question has over 10 years... It's switched on! 🎉 $\endgroup$
    – jojeck Mod
    Commented Aug 23, 2022 at 7:41

2 Answers 2

7
$\begingroup$

We can turn on code syntax highlighting if the community sees a need for it -- do you think many posts would benefit?

It's not a heavy dependency, but it is a minor one, so we'd want to make sure that it will benefit many posts not just a few.

$\endgroup$
8
  • $\begingroup$ Seriously, it's disabled? With no explanation of why it's not working when I try umpteen different variations on the comment thinking that it's my fault that it's not working? $\endgroup$
    – endolith
    Commented Jul 20, 2013 at 0:08
  • 3
    $\begingroup$ I wasn't sure whether to ask a new question or to undig this one, but it seems like this feature is still not turned on, and I think it would be more comfortable if not useful for a lot of users. $\endgroup$
    – Florent
    Commented Aug 1, 2017 at 23:07
  • 2
    $\begingroup$ +1 I'd like to see syntax highlighting because many of our users post code. $\endgroup$
    – Atul Ingle
    Commented Oct 19, 2017 at 16:55
  • $\begingroup$ @AtulIngle Looking at it now. No idea why I didn't see this activity on Meta when it happened. Apologies for the delayed response. $\endgroup$
    – Peter K. Mod
    Commented Feb 26, 2018 at 14:11
  • 1
    $\begingroup$ @Florent Looking at it now. No idea why I didn't see this activity on Meta when it happened. Apologies for the delayed response. $\endgroup$
    – Peter K. Mod
    Commented Feb 26, 2018 at 14:11
  • 1
    $\begingroup$ syntax highlighting should be dependent on the language (like C or C++ or something else). it shouldn't be dependent on who is posting the language. $\endgroup$ Commented Apr 1, 2018 at 23:58
  • 1
    $\begingroup$ Yes. Please turn Syntax Highlighting for DSP.SE. Code is one of the best way to express algorithm and should be promoted as 1st class citizen here. $\endgroup$
    – Royi
    Commented May 11, 2018 at 14:18
  • 1
    $\begingroup$ Any progress on that? We really need to promote answers which includes code and hands on examples. $\endgroup$
    – Royi
    Commented Aug 21, 2018 at 7:43
0
$\begingroup$

It seems to be turned on now:

Screenshot of question with C++ highlighting

$\endgroup$

You must log in to answer this question.

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