Skip to content

Commit 88fb676

Browse files
authored
Merge pull request #12 from salesforcecli/ew/help-code-block
Remove code block from examples
2 parents 878e28d + 0aa98ba commit 88fb676

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed

messages/graphql.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,22 @@ Run any valid GraphQL statement via the /graphql [API](https://developer.salesfo
1414

1515
- Runs a mutation to create an Account, with an `example.txt` file, containing
1616

17-
```text
18-
mutation AccountExample{
19-
uiapi {
20-
AccountCreate(input: {
21-
Account: {
22-
Name: "Trailblazer Express"
23-
}
24-
}) {
25-
Record {
26-
Id
27-
Name {
28-
value
17+
mutation AccountExample{
18+
uiapi {
19+
AccountCreate(input: {
20+
Account: {
21+
Name: "Trailblazer Express"
22+
}
23+
}) {
24+
Record {
25+
Id
26+
Name {
27+
value
28+
}
2929
}
3030
}
3131
}
3232
}
33-
}
34-
```
3533

3634
<%= config.bin %> <%= command.id %> --body example.txt
3735

messages/rest.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ Make an authenticated HTTP request to Salesforce REST API and print the response
2222

2323
- or with a file 'info.json' containing
2424

25-
```json
26-
{
27-
"Name": "Demo",
28-
"ShippingCity": "Boise"
29-
}
30-
```
25+
{
26+
"Name": "Demo",
27+
"ShippingCity": "Boise"
28+
}
3129

3230
<%= config.bin %> <%= command.id %> 'sobjects/account' --body info.json --method POST
3331

0 commit comments

Comments
 (0)