Skip to content

Commit 77937bd

Browse files
authored
Update index.md
adjusting GenAI code example indent for visual clarity
1 parent 5695ef1 commit 77937bd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

styleguide/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,8 @@ title: O'Reilly Style Guide
438438
<p>We want to accurately replicate the back-and-forth between human and AI. Human prompts can be edited very lightly (e.g., punctuation, capitalization), but AI-generated text should be kept verbatim. If AI output is edited for some reason, be sure to still acknowledge the AI's contribution. It must be clear what is AI-generated.</p>
439439

440440
<p>Display content that has a programming context in a code block, with a normal paragraph separating the prompt and the response as needed. The code content should be left verbatim, for the most part, though typos can be flagged for author/production attention. There will not be syntax highlighting. Here is an example:</p>
441-
<pre>prompt = "Write an email apologizing to Sarah for the tragic gardening mishap. Explain how it happened."
441+
<blockquote><pre>prompt = "Write an email apologizing to Sarah for the tragic gardening mishap.
442+
Explain how it happened."
442443

443444
output = generator(prompt)
444445

@@ -450,7 +451,7 @@ Subject: My Sincere Apologies for the Gardening Mishap
450451

451452
Dear Sarah,
452453

453-
I hope this message finds you well. I am writing to express my deep</pre>
454+
I hope this message finds you well. I am writing to express my deep...</pre></blockquote>
454455

455456
<p><a href="#getting_started">back to top</a></p>
456457
</section>

0 commit comments

Comments
 (0)