Skip to content

Commit 8abe4e3

Browse files
authored
Merge pull request #2328 from Financial-Times/o2-storybook-readme-update
docs: Use shell for code blocks not bash
2 parents 115b3dc + 6ccb0dd commit 8abe4e3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

apps/o2-storybook/readme.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,27 @@ Demos of Origami 2 components.
66

77
Ensure you have installed the dependencies for the project, execute the following in the root of the mono repo:
88

9-
```bash
10-
npm i
9+
```shell
10+
npm install
1111
```
1212

1313
Run storybook:
1414

15-
```bash
15+
```shell
1616
npm run storybook -w apps/o2-storybook
1717
```
1818

1919
By default, storybook will build demos for the `core` brand, you can change which brand storybook will build for by changing the value of `STORYBOOK_BRAND`:
2020

21-
```bash
21+
```shell
2222
STORYBOOK_BRAND=internal npm run storybook -w apps/o2-storybook
2323
```
2424

2525
Origami 2 supports these brands:
26-
* `core`
27-
* `internal`
28-
* `whitelabel`
26+
27+
- `core`
28+
- `internal`
29+
- `whitelabel`
2930

3031
## Creating stories and structure
3132

@@ -40,4 +41,3 @@ Each component folder has a `stories` folder, where we put all stories related t
4041
```
4142

4243
Any story file in the root of `stories/` will be built for all storybook instances. When a brand may need different stories for a specific brand, a directory with the brand's name can be created with stories inside. These will only show for the specified brand.
43-

0 commit comments

Comments
 (0)