Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “In a Microsoft Power Pages web template using Liquid and jQuery, I have encountered an error in the JavaScript function GetExternalData()
.”
A block of code is set as follows:
function fetchData() { fetch('https://api.example.com/data') .then(response => response.json()) .then(data => { // Process data console.log(data); }) .catch(error => console.error('Error:', error)); }
Any command-line input or output is written as follows:
async function fetchData() { try { const response = await fetch('https://api.example.com/data'); const data = await response.json(); console.log(data); } catch (error) { console.error('Error:', error); } }
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Sarah selected Sections from Copilot and tried to create an HTML table within a section.”
Tips or important notes
Appear like this.