In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "If we take a look at our find-byte.c file, we will see that our render method returns content wrapped in the View component".
A block of code is set as follows:
const s1 = "first string";
const s2 = "second string";
let s3 = s1 + s2;
Any command-line input or output is written as follows:
$ node --version
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
const char *s1 = "first string";
const char *s2 = "second string";
int size = strlen(s1) + strlen(s2);
char *buffer = (char *)malloc(size + 1);
strcpy(buffer, s1);
strcat(buffer, s2);
free(buffer);
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Clicking the Next button moves you to the next screen."