Use backtick code blocks for syntax highlighting

This commit is contained in:
James Gregory 2013-12-31 11:38:48 +11:00
commit f658bfbb40
203 changed files with 26546 additions and 25801 deletions

View file

@ -91,11 +91,13 @@ blue resolution, using the structure shown in Listing 55.1.
**LISTING 55.1 L55-1.C**
typedef struct -ModelColor {
unsigned char Red; /* 255 = max red, 0 = no red */
unsigned char Green; /* 255 = max green, 0 = no green */
unsigned char Blue; /* 255 = max blue, 0 = no blue */
} ModelColor;
```c
typedef struct -ModelColor {
unsigned char Red; /* 255 = max red, 0 = no red */
unsigned char Green; /* 255 = max green, 0 = no green */
unsigned char Blue; /* 255 = max blue, 0 = no blue */
} ModelColor;
```
Here, each color is described by three color components—one each for
red, green, and blue—and each primary color component is represented by