In this book, you will find a number of styles of text 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: "However, before we start looking at the code, let's check out the Leiningen 2 project.clj
file."
A block of code is set as follows:
(ns network-six.graph (:require [clojure.set :as set] [clojure.core.reducers :as r] [clojure.data.json :as json] [clojure.java.io :as io] [clojure.set :as set] [network-six.util :as u]))
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
clojure.lang.PersistentStructMap (extract-text [x] (concat (extract-text (:content x)) (when (contains? #{:span :p} (:tag x)) [" "])))
Any command-line input or output is written as follows:
$ cd www $ python -m SimpleHTTPServer Serving HTTP on 0.0.0.0 port 8000 …
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Right-click on the new layer and select Properties."
18.217.206.112