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: "In order to bypass Angular built-in sanitization for the value passed in, Angular provides a class such as DomSanitizer."
A block of code is set as follows:
@RequestMapping("/")
String home() {
return "Hello world. How are you?";
}
public static void main(String[] args) {
SpringApplication.run(HelloWorldApplication.class, args);
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
@Controller
@RequestMapping("/account/*")
public class UserAccountController {
@RequestMapping
public String login() {
return "login";
}
}
Any command-line input or output is written as follows:
docker pull gitlab/gitlab-ce
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: "It is required to add GitLab username/password credentials which can be achieved by clicking on Add button"