Introduce proper C syntax highlighting in the style guide by telling sphinx what language the code blocks are in.
The effect is not overwhelmingly successful, but it is a big improvement on the default highlighting currently in place. For example, the first snippet in one section treats the first line of the macro definition as a comment, and the rest as unhighlighted text. Meanwhile the equivalent for this PR is much better.
Introduce proper C syntax highlighting in the style guide by telling sphinx what language the code blocks are in.
The effect is not overwhelmingly successful, but it is a big improvement on the default highlighting currently in place. For example, the first snippet in one section treats the first line of the macro definition as a comment, and the rest as unhighlighted text. Meanwhile the equivalent for this PR is much better.