It happens quite often for mathematical or logical puzzles to be solved creating some programs or scripts, maybe to find the best solution to the task. By the way I actually got a bit disappointed when I found out that, even thought I did apply the correct syntax highlighting string to recognize the language, my post containing a Python snippet got published without syntax highlighting.
In other Stack Exchange sites, syntax highlighting is enabled by default for code snippets, and users can use the following syntax in their markdown
<!-- language: lang-[name] -->
to highlight their snippets, replacing
[name] with the name of the language they use, or with
none for no highlighting.
My suggestion is to make syntax highlighting possible even here (not by default) under the right syntax. Could we have this feature here on Puzzling SE?