Skip to content

Commit 3498035

Browse files
authored
fix: Updates incorrect formatting in readme generation portion of initial script. (#12)
1 parent a163ae7 commit 3498035

File tree

3 files changed

+40
-27
lines changed

3 files changed

+40
-27
lines changed

samples/add-map/README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,26 @@ https://github.com/googlemaps-samples/js-api-samples.
99

1010
## Setup
1111

12-
```sh
1312
### Before starting run:
14-
npm i
13+
14+
`$npmStr i`
1515

1616
### Run an example on a local web server
17-
First cd to the folder for the sample to run, then:
18-
npm start
17+
18+
First `cd` to the folder for the sample to run, then:
19+
20+
`$npmStr start`
1921

2022
### Build an individual example
21-
From samples/:
22-
npm run build --workspace=sample-name/
23+
24+
From `samples/`:
25+
26+
`$npmStr run build --workspace=sample-name/`
2327

2428
### Build all of the examples.
25-
from samples/:
26-
npm run build-all # Run build for all samples and generate all production files.
27-
```
29+
30+
From `samples/`:
31+
`$npmStr run build-all # Run build for all samples and generate all production files.`
2832

2933
## Feedback
3034

samples/map-simple/README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,26 @@ https://github.com/googlemaps-samples/js-api-samples.
55

66
## Setup
77

8-
```
98
### Before starting run:
10-
npm i
9+
10+
`$npmStr i`
1111

1212
### Run an example on a local web server
13-
cd to the folder for the sample to run, then:
14-
npm start
13+
14+
First `cd` to the folder for the sample to run, then:
15+
16+
`$npmStr start`
1517

1618
### Build an individual example
17-
From samples/:
18-
npm run build --workspace=sample-name/
19+
20+
From `samples/`:
21+
22+
`$npmStr run build --workspace=sample-name/`
1923

2024
### Build all of the examples.
21-
from samples/:
22-
npm run build-all # Run build for all samples and generate all production files.
23-
```
25+
26+
From `samples/`:
27+
`$npmStr run build-all # Run build for all samples and generate all production files.`
2428

2529
## Feedback
2630

samples/new1.sh

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,22 +124,27 @@ https://github.com/googlemaps-samples/js-api-samples.
124124
125125
## Setup
126126
127-
\`\`\`
127+
128128
### Before starting run:
129-
$npmStr i
129+
130+
`$npmStr i`
130131
131132
### Run an example on a local web server
132-
First cd to the folder for the sample to run, then:
133-
$npmStr start
133+
134+
First `cd` to the folder for the sample to run, then:
135+
136+
`$npmStr start`
134137
135138
### Build an individual example
136-
From samples/:
137-
$npmStr run build --workspace=sample-name/
139+
140+
From `samples/`:
141+
142+
`$npmStr run build --workspace=sample-name/`
138143
139144
### Build all of the examples.
140-
from samples/:
141-
$npmStr run build-all # Run build for all samples and generate all production files.
142-
\`\`\`
145+
146+
From `samples/`:
147+
`$npmStr run build-all # Run build for all samples and generate all production files.`
143148
144149
## Feedback
145150

0 commit comments

Comments
 (0)