Skip to content

Commit 1457e21

Browse files
testing
1 parent d284435 commit 1457e21

File tree

1 file changed

+66
-70
lines changed

1 file changed

+66
-70
lines changed

styleguide/index.md

Lines changed: 66 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ title: O'Reilly Style Guide
99
* <a href="#getting_started">About O'Reilly Style</a>
1010
* <a href="#considering_electronic_formats">Considering Electronic Formats</a>
1111
* <a href="#orm_grammar_punctuation_etc">O’Reilly Grammar, Punctuation, etc.
12-
* <a href="#abbreviationsacronyms">Abbreviations/Acronyms</a>
13-
* <a href="#bibliographical_entries">Bibliographical Entries</a>
14-
* <a href="#code">Code</a>
15-
* <a href="#line-length-ZKs1FLck">Line Length</a>
16-
* <a href="#syntax-highlighting-zVsXIecp">Syntax Highlighting</a>
17-
* <a href="#cross_references">Cross References</a>
18-
* <a href="#dates_and_numbers">Dates and Numbers</a>
19-
* <a href="#figures_tables_and_examples">Figures, Tables, and Examples</a>
20-
* <a href="#gen_ai">Generative AI</a>
21-
* <a href="#headings">Headings</a>
22-
* <a href="#links">Links</a>
23-
* <a href="#lists">Lists</a>
24-
* <a href="#bulleted_list">Bulleted list</a>
25-
* <a href="#numbered_list">Numbered list</a>
26-
* <a href="#variable_list">Variable list</a>
27-
* <a href="#miscellaneous">Miscellaneous</a>
28-
* <a href="#punctuation">Punctuation</a>
29-
* <a href="#typography_and_font_conventions">Typography and Font Conventions</a>
12+
** <a href="#abbreviationsacronyms">Abbreviations/Acronyms</a>
13+
** <a href="#bibliographical_entries">Bibliographical Entries</a>
14+
** <a href="#code">Code</a>
15+
*** <a href="#line-length-ZKs1FLck">Line Length</a>
16+
*** <a href="#syntax-highlighting-zVsXIecp">Syntax Highlighting</a>
17+
** <a href="#cross_references">Cross References</a>
18+
** <a href="#dates_and_numbers">Dates and Numbers</a>
19+
** <a href="#figures_tables_and_examples">Figures, Tables, and Examples</a>
20+
** <a href="#gen_ai">Generative AI</a>
21+
** <a href="#headings">Headings</a>
22+
** <a href="#links">Links</a>
23+
** <a href="#lists">Lists</a>
24+
*** <a href="#bulleted_list">Bulleted list</a>
25+
*** <a href="#numbered_list">Numbered list</a>
26+
*** <a href="#variable_list">Variable list</a>
27+
** <a href="#punctuation">Punctuation</a>
28+
** <a href="#typography_and_font_conventions">Typography and Font Conventions</a>
29+
** <a href="#miscellaneous">Miscellaneous</a>
3030
* <a href="#cover-style">O'Reilly Cover Copy</a>
3131
* <a href="#word-list">O’Reilly Word List</a>
3232

@@ -645,58 +645,6 @@ title: O'Reilly Style Guide
645645

646646

647647

648-
<section data-type="sect1" id="miscellaneous">
649-
<h1>Miscellaneous</h1>
650-
651-
<ul>
652-
<li>
653-
<p>Do not use a hyphen between an adverb and the word it modifies. So, “incredibly wide table” rather than “incredibly-wide table.”</p>
654-
</li>
655-
<li>
656-
<p>Close up words with the following prefixes (unless part of a proper noun) “micro,” “meta,” “multi,” “pseudo,” “re,” “non,” “sub,” and "co" (e.g., “multiusers,” “pseudoattribute,” “nonprogrammer,” “subprocess,” "coauthor"). Exceptions are noted in the word list (e.g., "re-create," "re-identification").</p>
657-
</li>
658-
<li>
659-
<p>Avoid using the possessive case for singular nouns ending in “s,” if possible. So, it’s “the Windows Start menu,” not “Windows’s Start menu.”</p>
660-
</li>
661-
<li>
662-
<p>Avoid wholesale changes to the author’s voice—for example, changing the first-person plural (the royal “we”) to the first-person singular or the second person. However, do try to maintain a consistency within sentences or paragraphs, where appropriate.</p>
663-
</li>
664-
<li>
665-
<p>We advise using a conversational, user-friendly tone that assumes the reader is intelligent but doesn’t have this particular knowledge yet—like an experienced colleague onboarding a new hire. First-person pronouns, contractions, and active verbs are all encouraged. Copyeditors: please check with your production editor if you wish to suggest global changes to tone.)</p>
666-
</li>
667-
<li>
668-
<p>Companies are always singular. So, for example, “Apple emphasizes the value of aesthetics in its product line. Consequently, it dominates the digital-music market” is correct. “Apple emphasize the value of aesthetics in their product line. They dominate the digital-music market” is <em>not</em>. (Also applies to generic terms “organization,” “team,” “group,” etc.)</p>
669-
</li>
670-
<li>
671-
<p>When referring to software elements or labels, always capitalize words that are capitalized on screen. Put quotes around any multiword element names that are lowercase or mixed case on screen and would thus be hard to distinguish from the rest of the text (e.g., Click “Don’t select object until rendered” only if necessary.)</p>
672-
</li>
673-
<li>
674-
<p>Use “between” for two items, “among” for three or more. Use “each other” for two, “one another” for three or more.</p>
675-
</li>
676-
<li>
677-
<p>Use the American spellings of words when they differ.</p>
678-
</li>
679-
<li>
680-
<p>Common foreign terms (such as “en masse”) are roman.</p>
681-
</li>
682-
<li>
683-
<p>Introduce unnumbered code blocks with colons.</p>
684-
</li>
685-
<li>
686-
<p>Do not stack admonitions, sidebars, or headings.</p>
687-
</li>
688-
<li>
689-
<p>Avoid obscenities and slurs, and obscure if included (grawlix, a two-em dash, etc.)</p>
690-
</li>
691-
</ul>
692-
693-
<p><a href="#getting_started">back to top</a></p>
694-
</section>
695-
696-
697-
698-
699-
700648
<section data-type="sect2" id="punctuation">
701649
<h2>Punctuation</h2>
702650

@@ -836,6 +784,54 @@ title: O'Reilly Style Guide
836784

837785

838786

787+
<section data-type="sect1" id="miscellaneous">
788+
<h1>Miscellaneous</h1>
789+
790+
<ul>
791+
<li>
792+
<p>Do not use a hyphen between an adverb and the word it modifies. So, “incredibly wide table” rather than “incredibly-wide table.”</p>
793+
</li>
794+
<li>
795+
<p>Close up words with the following prefixes (unless part of a proper noun) “micro,” “meta,” “multi,” “pseudo,” “re,” “non,” “sub,” and "co" (e.g., “multiusers,” “pseudoattribute,” “nonprogrammer,” “subprocess,” "coauthor"). Exceptions are noted in the word list (e.g., "re-create," "re-identification").</p>
796+
</li>
797+
<li>
798+
<p>Avoid using the possessive case for singular nouns ending in “s,” if possible. So, it’s “the Windows Start menu,” not “Windows’s Start menu.”</p>
799+
</li>
800+
<li>
801+
<p>Avoid wholesale changes to the author’s voice—for example, changing the first-person plural (the royal “we”) to the first-person singular or the second person. However, do try to maintain a consistency within sentences or paragraphs, where appropriate.</p>
802+
</li>
803+
<li>
804+
<p>We advise using a conversational, user-friendly tone that assumes the reader is intelligent but doesn’t have this particular knowledge yet—like an experienced colleague onboarding a new hire. First-person pronouns, contractions, and active verbs are all encouraged. Copyeditors: please check with your production editor if you wish to suggest global changes to tone.)</p>
805+
</li>
806+
<li>
807+
<p>Companies are always singular. So, for example, “Apple emphasizes the value of aesthetics in its product line. Consequently, it dominates the digital-music market” is correct. “Apple emphasize the value of aesthetics in their product line. They dominate the digital-music market” is <em>not</em>. (Also applies to generic terms “organization,” “team,” “group,” etc.)</p>
808+
</li>
809+
<li>
810+
<p>When referring to software elements or labels, always capitalize words that are capitalized on screen. Put quotes around any multiword element names that are lowercase or mixed case on screen and would thus be hard to distinguish from the rest of the text (e.g., Click “Don’t select object until rendered” only if necessary.)</p>
811+
</li>
812+
<li>
813+
<p>Use “between” for two items, “among” for three or more. Use “each other” for two, “one another” for three or more.</p>
814+
</li>
815+
<li>
816+
<p>Use the American spellings of words when they differ.</p>
817+
</li>
818+
<li>
819+
<p>Common foreign terms (such as “en masse”) are roman.</p>
820+
</li>
821+
<li>
822+
<p>Introduce unnumbered code blocks with colons.</p>
823+
</li>
824+
<li>
825+
<p>Do not stack admonitions, sidebars, or headings.</p>
826+
</li>
827+
<li>
828+
<p>Avoid obscenities and slurs, and obscure if included (grawlix, a two-em dash, etc.)</p>
829+
</li>
830+
</ul>
831+
832+
<p><a href="#getting_started">back to top</a></p>
833+
</section>
834+
839835

840836

841837
<section data-type="sect1" id="cover-style">

0 commit comments

Comments
 (0)