So what kind of advice do we have for code formatting? There's an FAQ entry on BB code snippets that suggests using [ code ] to format things out. Example:
However, it insists on breaking the line and putting (a totally unnecessary) "Code:" introduction on top, which is silly: everybody sees this is code. And if I need to do five snippets throughout my post, it gets annoying.
I see that some people started using typeface. To me, bold means I really want to stress something important in my post, and I thought that was the common part of the netiquette. Code formatting has to be done differently, and I think proportional font works better: regress does look more like something I would type in the command line, and I would really love to see an option to change the background color to grey to highlight it even more... and it would definitely help to have a button to do this for (i) inline, and (ii) paragraph (which is the [#] button does now).
Do we want to develop a common community strategy for this? NJC's main FAQ does not seem to be mentioning formatting at this stage; may be it should, now that we have moved to a somewhat richer environment.
Thanks, Stas
Code:
sysuse auto, clear regress mpg foreign test foreign == 0
I see that some people started using typeface. To me, bold means I really want to stress something important in my post, and I thought that was the common part of the netiquette. Code formatting has to be done differently, and I think proportional font works better: regress does look more like something I would type in the command line, and I would really love to see an option to change the background color to grey to highlight it even more... and it would definitely help to have a button to do this for (i) inline, and (ii) paragraph (which is the [#] button does now).
Do we want to develop a common community strategy for this? NJC's main FAQ does not seem to be mentioning formatting at this stage; may be it should, now that we have moved to a somewhat richer environment.
Thanks, Stas
Comment