Skip to content

Commit 592a92c

Browse files
committed
update styleguide
1 parent 4be16ab commit 592a92c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

STYLE_GUIDE.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ For example, when method and title are the same:
142142

143143
We've got a few **MDX** components we use across the Docs. Below is a walkthrough of how to start writing and using the components that make up the Docs.
144144

145-
IMPORTANT: Alwats use double quotes inside mdx tags.
145+
IMPORTANT: Always use double quotes inside mdx tags.
146146

147147
Example:
148148

@@ -288,18 +288,18 @@ This renders a button with a specified text based on its state (expanded or coll
288288
You'll mostly use this for API, Commands, etc. Responses, which should be wrapped with the `CollapsibleSection` tags, for example:
289289

290290
```mdx
291-
<CollapsibleSection expandedText='Hide Response' collapsedText='Show Response'>
292-
#### Response (ready, successful)
293-
294-
```json
295-
{
296-
"mmrpc": "2.0",
297-
"result": "success",
298-
"id": null
299-
}
300-
```
301-
302-
</CollapsibleSection>
291+
<CollapsibleSection expandedText='Hide Response' collapsedText='Show Response'>
292+
#### Response (ready, successful)
293+
294+
```json
295+
{
296+
"mmrpc": "2.0",
297+
"result": "success",
298+
"id": null
299+
}
300+
```
301+
302+
</CollapsibleSection>
303303
```
304304

305305
The `CollapsibleSection` tags should also wrap all error responses (as a group), with the `expandedText` and `collapsedText` values set to '**Show Error Responses**' and '**Hide Error Responses' respectively**.

0 commit comments

Comments
 (0)