Skip to content

Commit ff8a022

Browse files
committed
change code block styles to be more prominent
1 parent d3a4997 commit ff8a022

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

guides/basic-use/cli-commands.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The help command is also the best way to see the aliased or shorthand versions o
2222

2323
### Format:
2424

25-
```
25+
```bash
2626
ember new <my-app-name> [options]
2727
```
2828

@@ -34,7 +34,7 @@ ember new <my-app-name> [options]
3434

3535
This command below will create a folder called `camping-trip-tracker`, which will be full of app files. It uses the `--yarn` option to show that the app should use `yarn` by default. Yarn is a package manager alternative to `npm`. Options typically start with a double dash `--` and can be omitted entirely.
3636

37-
```
37+
```bash
3838
ember new camping-trip-tracker --yarn
3939
```
4040

@@ -46,7 +46,7 @@ ember new camping-trip-tracker --yarn
4646

4747
### Format
4848

49-
```
49+
```bash
5050
ember serve [options]
5151
```
5252

@@ -58,7 +58,7 @@ ember serve [options]
5858

5959
By default, apps are served at port `4200`, but if you need to change it for some reason, you could visit your app at `http://localhost:3200` by using this command:
6060

61-
```
61+
```bash
6262
ember serve --port 3200
6363
```
6464

@@ -70,7 +70,7 @@ ember serve --port 3200
7070

7171
### Format
7272

73-
```
73+
```bash
7474
ember generate <type of file> <the name to give it>
7575
```
7676

@@ -84,7 +84,7 @@ The new files will contain the necessary boilerplate, they will go in the right
8484

8585
This command will make a component named `packing-list`. There will be three files created in the app: `packing-list.hbs` which will define what it looks like, `packing-list.js` with JavaScript code to handle user interaction, and an integration test (aka rendering test) file called `packing-list-test.js`.
8686

87-
```
87+
```bash
8888
ember generate component packing-list
8989
```
9090

@@ -96,7 +96,7 @@ ember generate component packing-list
9696

9797
### Format
9898

99-
```
99+
```bash
100100
ember install <addon-name>
101101
```
102102

@@ -110,7 +110,7 @@ To use npm packages directly, see <!-- LINK --> to learn about the options.
110110

111111
Here's an example of adding SASS support to your app using <!-- LINK TO CLI SASS -->. SASS is an alternative to writing plain CSS. This is a popular community-maintained addon.
112112

113-
```
113+
```bash
114114
ember install ember-cli-sass
115115
```
116116

@@ -124,7 +124,7 @@ ember install ember-cli-sass
124124

125125
### Format
126126

127-
```
127+
```bash
128128
ember test [options]
129129
```
130130

@@ -136,7 +136,7 @@ ember test [options]
136136

137137
To make tests re-run as we change files, we could use the `--server` option:
138138

139-
```
139+
```bash
140140
ember test --server
141141
```
142142

@@ -146,7 +146,7 @@ ember test --server
146146

147147
### Format
148148

149-
```
149+
```bash
150150
ember build [options]
151151
```
152152

@@ -162,7 +162,7 @@ Ember apps can be built with only three environments: development, production, a
162162

163163
This command builds the app using the production configuration, so that means by default, it will use maximum minification for best app performance.
164164

165-
```
165+
```bash
166166
ember build --environment production
167167
```
168168

guides/basic-use/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ It is recommend to install the most recent LTS (long term support) version of `n
1212

1313
## Installing the ember-cli
1414

15-
```
15+
```bash
1616
npm install -g ember-cli
1717
```
1818

@@ -22,7 +22,7 @@ This will make the `ember` command available throughout your project folders. Th
2222

2323
Mac users may need to install [Watchman](https://facebook.github.io/watchman/) via [Homebrew](http://brew.sh/). Watchman helps correct for some buggy file watching behavior in MacOS. Do not use the `npm` package by the same name.
2424

25-
```
25+
```bash
2626
brew install watchman
2727
```
2828

guides/writing-addons/tutorial-addon-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ember generate component <component-name>
2222

2323
However, in the context of an addon, this creates more files than we would see in an app:
2424

25-
```
25+
```bash
2626
create addon/components/<addon-name>.js
2727
create addon/templates/components/<addon-name>.hbs
2828
create tests/integration/components/<addon-name>-test.js

0 commit comments

Comments
 (0)