Search⌘ K

Typographic Conventions

Explore the typographic conventions essential for reading and understanding Ruby on Rails code listings and shell commands. This lesson explains how code changes, command outputs, and multiline commands are displayed, helping you navigate Rails development instructions smoothly.

Typographic norms

To follow along in this course, we’ll need to know a few things about how it’s written as well as to have a working development environment. This course contains both code listings as well as instructions for running commands in a shell.

Code listing

Code listings will usually be preceded by the file name and either show the entire file or provide enough context to know where in the file we are referring to. Changes will be highlighted with arrows. Lines to remove, if not obvious from context, are called out with an x. For example, the ...