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: "Karma reads its configuration out of a karma.conf.js
file."
A block of code is set as follows:
<p>{{date}}</p> <h1>{{title}}</h1> <h3>Written by: {{author}}</h3>
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
@Component({ selector: 'article', template: ` <p>{{currentDate|date}}</p> <h1>{{title}}</h1> <h3>Written by: {{author}}</h3> ` })
Any command-line input or output is written as follows:
npm install karma jasmine-core karma-jasmine --save-dev npm install karma-cli -g
New terms and important words are shown in bold.
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.