Skip to content

Commit aaee047

Browse files
committed
Sync open source content 🐝 (from 17207daed49b0d2d89f61999852b74f17f97e9e7)
1 parent 34ed31c commit aaee047

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

claude.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
### **Markdown language**
44

5-
Speakeasy documentation and blog posts are written in [MDX](https://mdxjs.com/) (`.mdx` files). You may encounter some Markdown (`.md`) files.
5+
Speakeasy documentation and blog posts are written in [MDX](https://mdxjs.com/) (`.mdx` files). You may encounter some Markdown (`.md`) files.
66

7-
MDX (Markdown with JSX) uses the same formatting syntax for basic text elements as standard Markdown. This [guide to basic Markdown syntax](https://www.markdownguide.org/basic-syntax/) shows you how to format elements like headers, bold text, italic text, lists, and links.
7+
MDX (Markdown with JSX) uses the same formatting syntax for basic text elements as standard Markdown. This [guide to basic Markdown syntax](https://www.markdownguide.org/basic-syntax/) shows you how to format elements like headers, bold text, italic text, lists, and links.
88

99
### **Style specifics**
1010

@@ -14,23 +14,23 @@ Speakeasy uses sentence case for titles and section headings globally.
1414

1515
#### **Backticks**
1616

17-
- In body text, place all references to code in backticks, including class names and `description` values.
17+
- In body text, place all references to code in backticks, including class names and `description` values.
1818
- Don’t use backticks in titles, headings, or subheadings because they don’t render well.
1919
- Don’t put language names in backticks unless it’s part of a code snippet:
20-
- ❌ In `go`, all types from all operations are collected into a global `AcceptHeaderEnum` type.
21-
- ✅ In Go, all types from all operations are collected into a global `AcceptHeaderEnum` type.
20+
- ❌ In `go`, all types from all operations are collected into a global `AcceptHeaderEnum` type.
21+
- ✅ In Go, all types from all operations are collected into a global `AcceptHeaderEnum` type.
2222

2323
#### **Code blocks**
2424

25-
Speakeasy documentation uses [Code Hike](https://codehike.org/) for code blocks.
25+
Speakeasy documentation uses [Code Hike](https://codehike.org/) for code blocks.
2626

2727
- Prefer code blocks to inline code for code snippets.
2828
- Prefer YAML to JSON for code snippets where possible to improve readability. For example, use YAML for all OpenAPI document examples.
2929
- Try to add a language to all code blocks. This helps with syntax highlighting.
30-
- Use the `bash` language for shell commands.
31-
- Terminal output can be highlighted by copying the output with control sequences (copy using iTerm2), then pasting the output to a code block and selecting the `ansi` language. This will render the output with the correct colors and formatting.
32-
- The `ansi` language isn’t rendered as a Code Hike component. If you need to use the `ansi` language, use a standard code block.
33-
- The `mermaid` language is used for diagrams. This language is excluded from Code Hike rendering.
30+
- Use the `bash` language for shell commands.
31+
- Terminal output can be highlighted by copying the output with control sequences (copy using iTerm2), then pasting the output to a code block and selecting the `ansi` language. This will render the output with the correct colors and formatting.
32+
- The `ansi` language isn’t rendered as a Code Hike component. If you need to use the `ansi` language, use a standard code block.
33+
- The `mermaid` language is used for diagrams. This language is excluded from Code Hike rendering.
3434

3535
#### **UI element labels**
3636

@@ -141,21 +141,21 @@ Place inline code between backticks.
141141

142142
Use backticks to reference bits of code you're narrating, but not for labels or button text.
143143

144-
- ❌ Enter the filename and click `OK`.
145-
- ✅ Import the built-in node `http` package.
144+
- ❌ Enter the filename and click `OK`.
145+
- ✅ Import the built-in node `http` package.
146146

147147
Avoid starting headings or sentences with backticks or code:
148148

149-
- `request.args` is an ImmutableMultiDict.
150-
- ✅ The `request.args` attribute is an ImmutableMultiDict.
149+
- `request.args` is an ImmutableMultiDict.
150+
- ✅ The `request.args` attribute is an ImmutableMultiDict.
151151

152152
### Capitalization
153153

154154
#### Titles and headings
155155

156156
Capitalize titles and headings according to the customer's style guide if they have one or match capitalization to their existing documentation.
157157

158-
At Speakeasy, we default to **sentence case** for titles and headings.
158+
At Speakeasy, we default to **sentence case** for titles and headings.
159159

160160
- ✅ Using multiplayer with anonymous users
161161

@@ -208,7 +208,7 @@ Correct comma splices by rewriting the independent clauses as complete sentences
208208

209209
Alternatively, add a conjunction:
210210

211-
- ✅ Download the files you need **and** unzip them on your computer.
211+
- ✅ Download the files you need **and** unzip them on your computer.
212212

213213
Comma splices can be corrected by replacing the comma with a semicolon, but this approach is not recommended for our content:
214214

@@ -237,17 +237,17 @@ Use decimal points when a number is not easily written out as a fraction: 1.273.
237237

238238
### Login, log in, log in to
239239

240-
**login** (noun)
240+
**login** (noun)
241241

242242
Your access credentials:
243243

244244
- ✅ Keep your login details handy.
245245

246-
**log in** (phrasal verb)
246+
**log in** (phrasal verb)
247247

248248
- ✅ To make these changes, you'll need to log in.
249249

250-
**log in to** The term "log in" is a phrasal verb, so we add the preposition after a space:
250+
**log in to** The term "log in" is a phrasal verb, so we add the preposition after a space:
251251

252252
- ✅ Log in to GitHub.
253253

@@ -299,18 +299,18 @@ Use double quotation marks to identify labels or button text:
299299

300300
### Setup vs set up
301301

302-
We use **setup** as a noun or adjective:
302+
We use **setup** as a noun or adjective:
303303

304304
- ✅ A microservices setup.
305305
- ✅ Follow the setup instructions.
306306

307-
We use **set up** as a verb:
307+
We use **set up** as a verb:
308308

309309
- ✅ How to set up your account.
310310

311311
### URLs and websites
312312

313-
Avoid spelling out URLs, but when you need to, leave off `http://www.`.
313+
Avoid spelling out URLs, but when you need to, leave off `http://www.`.
314314

315315
### Word list
316316

0 commit comments

Comments
 (0)