This question is about the broad topic of improving posts vs. pushing old posts:
Does the addition of syntax highlighting to a post warrant an edit even if the post is, say, more than a year old?
I think syntax highlighting is a big improvement to the readability of a post, especially when it contains code sections that are longer than 3-4 lines. It is however a rather minor edit and pushes the post back to the top of the active queue.
Do you consider syntax highlighting to be so important as to add it to every post with code? Should it rather be handled on a per post basis, where it should only be applied when there is a substantial amount of code and/or the question is relatively new?
A few examples:
And a rather short code-block where I would be hesitant to add the highlighting if it is not already present.
import rasterio with rasterio.Open("data.tif", "r") as src: arr = src.read_band(1)
I can't seem to invoke syntax highlighting on this Meta so the picture below shows what happens on Main: