You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: claude.md
+22-22Lines changed: 22 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
### **Markdown language**
4
4
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.
6
6
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.
8
8
9
9
### **Style specifics**
10
10
@@ -14,23 +14,23 @@ Speakeasy uses sentence case for titles and section headings globally.
14
14
15
15
#### **Backticks**
16
16
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.
18
18
- Don’t use backticks in titles, headings, or subheadings because they don’t render well.
19
19
- 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.
- Prefer code blocks to inline code for code snippets.
28
28
- Prefer YAML to JSON for code snippets where possible to improve readability. For example, use YAML for all OpenAPI document examples.
29
29
- 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.
34
34
35
35
#### **UI element labels**
36
36
@@ -141,21 +141,21 @@ Place inline code between backticks.
141
141
142
142
Use backticks to reference bits of code you're narrating, but not for labels or button text.
143
143
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.
146
146
147
147
Avoid starting headings or sentences with backticks or code:
148
148
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.
151
151
152
152
### Capitalization
153
153
154
154
#### Titles and headings
155
155
156
156
Capitalize titles and headings according to the customer's style guide if they have one or match capitalization to their existing documentation.
157
157
158
-
At Speakeasy, we default to**sentence case**for titles and headings.
158
+
At Speakeasy, we default to**sentence case**for titles and headings.
159
159
160
160
- ✅ Using multiplayer with anonymous users
161
161
@@ -208,7 +208,7 @@ Correct comma splices by rewriting the independent clauses as complete sentences
208
208
209
209
Alternatively, add a conjunction:
210
210
211
-
- ✅ Download the files you need**and**unzip them on your computer.
211
+
- ✅ Download the files you need**and**unzip them on your computer.
212
212
213
213
Comma splices can be corrected by replacing the comma with a semicolon, but this approach is not recommended for our content:
214
214
@@ -237,17 +237,17 @@ Use decimal points when a number is not easily written out as a fraction: 1.273.
237
237
238
238
### Login, log in, log in to
239
239
240
-
**login**(noun)
240
+
**login**(noun)
241
241
242
242
Your access credentials:
243
243
244
244
- ✅ Keep your login details handy.
245
245
246
-
**log in**(phrasal verb)
246
+
**log in**(phrasal verb)
247
247
248
248
- ✅ To make these changes, you'll need to log in.
249
249
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:
251
251
252
252
- ✅ Log in to GitHub.
253
253
@@ -299,18 +299,18 @@ Use double quotation marks to identify labels or button text:
299
299
300
300
### Setup vs set up
301
301
302
-
We use**setup**as a noun or adjective:
302
+
We use**setup**as a noun or adjective:
303
303
304
304
- ✅ A microservices setup.
305
305
- ✅ Follow the setup instructions.
306
306
307
-
We use**set up**as a verb:
307
+
We use**set up**as a verb:
308
308
309
309
- ✅ How to set up your account.
310
310
311
311
### URLs and websites
312
312
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.`.
0 commit comments