Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit 716b5df

Browse files
author
Katie Horne
authored
Fix code fencing (#182)
1 parent eeedf85 commit 716b5df

File tree

21 files changed

+83
-83
lines changed

21 files changed

+83
-83
lines changed

admin/access-control/password-reset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cemanager's **reset-admin-password** command.
3030
3131
To reset the password, run the following in the terminal:
3232

33-
```bash
33+
```console
3434
# get any cemanager pod
3535
kubectl get pods | grep cemanager- | awk '{print $1}' | head -n1
3636

admin/environment-management/cvms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ the following parameters:
4242

4343
You can also provide `latest` instead of specific version numbers. For example:
4444

45-
```bash
45+
```console
4646
gcloud beta container clusters create "YOUR_NEW_CLUSTER" \
4747
--node-version "latest" \
4848
--cluster-version "latest" \
@@ -82,7 +82,7 @@ and updating your `eksctl` config spec.
8282
8383
2. Create your nodegroup (be sure to provide the correct file name):
8484
85-
```bash
85+
```console
8686
eksctl create nodegroup --config-file=coder-node.yaml
8787
```
8888

cli/file-sync.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ local machine and Coder environment.
1616

1717
1. To establish a one-way directory sync to a remote environment:
1818

19-
```bash
19+
```console
2020
coder sync [local directory] [<env name>:<remote directory>]
2121
```
2222

@@ -27,7 +27,7 @@ local machine and Coder environment.
2727
To sync your local directory **~/Projects/cdr/coder-cli** to **coder-cli** in
2828
the home directory of your environment:
2929

30-
```bash
30+
```console
3131
$ coder sync ~/Projects/cdr/coder-cli my-env:coder-cli
3232
2020-05-19 17:57:40 INFO doing initial sync (~/Projects/cdr/coder-cli -> coder-cli)
3333
2020-05-19 17:57:41 SUCCESS finished initial sync (878ms)
@@ -45,7 +45,7 @@ help ensure your project is in the same state no matter where you make changes.
4545

4646
1. Log into Coder and configure your local SSH client:
4747

48-
```bash
48+
```console
4949
$ coder login https://coder.yourcompany.com
5050
2020-10-20 11:16:29 SUCCESS Logged in.
5151
$ coder config-ssh
@@ -61,7 +61,7 @@ help ensure your project is in the same state no matter where you make changes.
6161
session. Note that the folder must exist on the remote server before you
6262
begin this step:
6363

64-
```bash
64+
```console
6565
$ cd ~/my-project
6666
$ coder envs ls
6767
Name ImageTag CPUCores MemoryGB DiskGB GPUs Updating Status

cli/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Download releases [from Github](https://github.com/cdr/coder-cli/releases):
3636

3737
Once you've installed the CLI, authenticate the client with your Coder account.
3838

39-
```bash
39+
```console
4040
coder login [https://coder.domain.com]
4141
```
4242

@@ -51,7 +51,7 @@ such as in CI/CD pipelines, the Coder CLI can also be authenticated with the
5151

5252
Generate a static authentication token with the following command:
5353

54-
```bash
54+
```console
5555
coder tokens create my-token
5656
```
5757

environments/personalization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ instructions in your `~/personalize` script. Whenever Coder rebuilds your
3232
environment, it runs your `~/personalize` script, installs `fish`, and changes
3333
the default shell.
3434

35-
```bash
35+
```console
3636
#!/bin/bash
3737

3838
echo "--Starting personalize"
@@ -44,7 +44,7 @@ sudo chsh -s /usr/bin/fish $USER
4444

4545
The following is a more extensive example of a `~/personalize` script:
4646

47-
```bash
47+
```console
4848
#!/bin/bash
4949

5050
###########################################################################

environments/ssh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Before using, configuring, and accessing your environment via SSH:
1515
You can access your environments via SSH by configuring your local machine as
1616
follows:
1717

18-
```bash
18+
```console
1919
$ coder config-ssh
2020

2121
An auto-generated ssh config was written to "/Users/yourName/.ssh/config"
@@ -49,6 +49,6 @@ To do so, use the flag `-e "coder sh"` in your `rsync` transfer invokation. For
4949
example, the following shows how you can transfer your home directory to your
5050
environment:
5151

52-
```bash
52+
```console
5353
rsync -e "coder sh" -a --progress ~/. my-env:~
5454
```

environments/variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ contextual information about your environment.
99
To obtain a list of environment variables and their values, launch the
1010
**Terminal** via the Coder Dashboard and run:
1111

12-
```bash
12+
```console
1313
env | grep CODER_
1414
```
1515

guides/admin/helm-charts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Coder's helm chart.
1212
1313
1. Get a copy of your existing helm chart and save it as `values.yaml`
1414

15-
```bash
15+
```console
1616
helm show values coder/coder > values.yaml
1717
```
1818

@@ -28,7 +28,7 @@ Coder's helm chart.
2828
replace the placeholder value in the following command with your Coder
2929
version):
3030

31-
```bash
31+
```console
3232
helm upgrade coder coder/coder -n coder --version=<VERSION> -f values.yaml
3333
```
3434

guides/customization/custom-env.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ Docker registry. To do so, run the following command in the directory where your
128128
Dockerfile is located (be sure to replace the placeholder values with your tag
129129
and repository name so that the image is pushed to the appropriate location):
130130

131-
```bash
131+
```console
132132
docker build -t coderenterprise/react .
133133
```
134134

135-
```bash
135+
```console
136136
docker push coderenterprise/react
137137
```
138138

@@ -174,7 +174,7 @@ creators.
174174
To do this, go to the **Environments** page of your Coder deployment and click
175175
**Terminal**. Run the following to create the skeleton for your application:
176176

177-
```bash
177+
```console
178178
npx create-react-app coder-app
179179
```
180180

@@ -189,7 +189,7 @@ development server so that you can preview the changes you make to your project.
189189
You can switch into your app's directory and start the React development server
190190
(which listens on port 3000) using the Coder deployment's Terminal:
191191

192-
```bash
192+
```console
193193
cd coder-app
194194
yarn start
195195
```

guides/deployments/nightly-releases.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ automatically prune old nightly releases, so you'll see a maximum of 100
3535
entries. The easiest way to view the
3636
[index](https://helm-nightly.coder.com/index.yaml) is to obtain it using curl:
3737

38-
```bash
38+
```console
3939
$ curl https://helm-nightly.coder.com/index.yaml
4040

4141
apiVersion: v1
@@ -64,7 +64,7 @@ crucial that you provide the entire version string to us.
6464
For automation purposes, you can use the following one-liner to get the current
6565
nightly version:
6666

67-
```bash
67+
```console
6868
# Requires curl, yq, jq
6969
$ curl -sS https://helm-nightly.coder.com/index.yaml \
7070
| yq r --tojson - \
@@ -77,15 +77,15 @@ $ curl -sS https://helm-nightly.coder.com/index.yaml \
7777

7878
1. Add the Helm repo (if you haven't already):
7979

80-
```bash
80+
```console
8181
$ helm repo add coder-nightly https://helm-nightly.coder.com
8282
"coder-nightly" has been added to your repositories
8383
```
8484

8585
1. Install a specific version to the coder namespace (be sure to
8686
backup your database before running the following command):
8787

88-
```bash
88+
```console
8989
$ helm upgrade --namespace coder coder coder-nightly/coder \
9090
--version <VERSION> --atomic --install
9191

0 commit comments

Comments
 (0)