Skip to content

Commit 8bce3e5

Browse files
author
Gregory Hyman
committed
add link to Line Length section of OReilly style guide
1 parent 293b14c commit 8bce3e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

word/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@ To include a reference to the example in the text, simply refer to the example b
168168

169169
<h3 id="code-length">Code Length and Spacing Guidelines</h3>
170170

171-
Maximum line length for code varies slightly between book formats. For standard Animal books, the maximum line length for code is 81 characters, with 85 characters available in captioned examples. In small Animal books (6x9), standard line length for code is 64 characters, with 68 characters available in captioned examples. Pocket references have even smaller code line length—check with your editor for this information.
171+
Maximum line length for code varies slightly between book formats. For standard Animal books, the maximum line length for code is 81 characters, with 85 characters available in captioned examples. In small Animal books (6x9), standard line length for code is 64 characters, with 68 characters available in captioned examples.
172+
173+
For more information, including max line length in other O'Reilly book series, please refer to the <a href="https://oreillymedia.github.io/production-resources/styleguide/#line-length-ZKs1FLck">Line Length section</a> of the O’Reilly Style Guide.
172174

173175
Please make sure your code lines do not exceed these restrictions so that code lines don't run into the right margin when files are converted from Microsoft Word and prepared for typesetting. Indent using spaces, not tabs.
174176

0 commit comments

Comments
 (0)