Skip to content

Commit 3fbf884

Browse files
committed
guide: use proper code blocks
1 parent 5931fab commit 3fbf884

1 file changed

Lines changed: 22 additions & 15 deletions

File tree

_extras/guide.md

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,40 +14,46 @@ Homebrew is one of the popular package managers used by many Mac users.
1414
To install Homebrew, you need have xcode command line tools installed,
1515

1616
from the terminal, type:
17-
```
17+
~~~
1818
xcode-select --install
19-
```
19+
~~~
20+
{: .language-bash}
2021

2122
then
22-
```
23+
~~~
2324
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
24-
```
25+
~~~
26+
{: .language-bash}
2527

2628
Run the following command to ensure Homebrew is installed properly:
2729

28-
```
30+
~~~
2931
brew doctor
30-
```
32+
~~~
33+
{: .language-bash}
3134

3235
install Python 3:
3336

34-
```
37+
~~~
3538
brew install python3
36-
```
39+
~~~
40+
{: .language-bash}
3741

38-
All the rest of workshop packages can be installed by pip3 which comes together with Python 3:
42+
All the rest of workshop packages can be installed by `pip3` which comes together with Python 3:
3943

40-
```
44+
~~~
4145
pip3 install numpy pandas matplotlib jupyter
4246
pip3 install bokeh ggplot
43-
```
47+
~~~
48+
{: .language-bash}
4449

4550
pip3 can automatically figure out all the dependencies that required by the above packages.
4651

4752
Launch a Python command prompt, type:
48-
```
53+
~~~
4954
python3
50-
```
55+
~~~
56+
{: .language-bash}
5157

5258
## Checking installations.
5359

@@ -57,9 +63,10 @@ By default, Data Carpentry does not have people pull the whole repository with a
5763
you, as the instructor, get to decide how you'd like to provide this script to learners, if at all.
5864
To use this, students can navigate into includes/scripts terminal, and execute the following:
5965

60-
```
66+
~~~
6167
python check_env.py
62-
```
68+
~~~
69+
{: .language-bash}
6370

6471
If learners receive an `AssertionError`, it will inform you how to help them correct this
6572
installation. Otherwise, it will tell you that the system is good to go and ready for Data Carpentry!

0 commit comments

Comments
 (0)