Add lang identifiers to shell based codeblocks
This commit is contained in:
parent
7c619a7e2f
commit
10a73596d9
|
@ -123,7 +123,7 @@ to see more detailed examples.
|
||||||
|
|
||||||
Once the project is configured with the github-pages environment, it's quite hard to switch back and forth with the local settings and the production-level settings. For that we can use certain CLI options to make the workflow hassle-free.
|
Once the project is configured with the github-pages environment, it's quite hard to switch back and forth with the local settings and the production-level settings. For that we can use certain CLI options to make the workflow hassle-free.
|
||||||
|
|
||||||
```
|
```sh
|
||||||
bundle exec jekyll serve --baseurl=""
|
bundle exec jekyll serve --baseurl=""
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -24,19 +24,19 @@ See [Requirements]({{ '/docs/installation/#requirements' | relative_url }}) for
|
||||||
|
|
||||||
1. Install all [prerequisites]({{ '/docs/installation/' | relative_url }}).
|
1. Install all [prerequisites]({{ '/docs/installation/' | relative_url }}).
|
||||||
2. Install the jekyll and bundler [gems]({{ '/docs/ruby-101/#gems' | relative_url }}).
|
2. Install the jekyll and bundler [gems]({{ '/docs/ruby-101/#gems' | relative_url }}).
|
||||||
```
|
```sh
|
||||||
gem install jekyll bundler
|
gem install jekyll bundler
|
||||||
```
|
```
|
||||||
3. Create a new Jekyll site at `./myblog`.
|
3. Create a new Jekyll site at `./myblog`.
|
||||||
```
|
```sh
|
||||||
jekyll new myblog
|
jekyll new myblog
|
||||||
```
|
```
|
||||||
4. Change into your new directory.
|
4. Change into your new directory.
|
||||||
```
|
```sh
|
||||||
cd myblog
|
cd myblog
|
||||||
```
|
```
|
||||||
5. Build the site and make it available on a local server.
|
5. Build the site and make it available on a local server.
|
||||||
```
|
```sh
|
||||||
bundle exec jekyll serve
|
bundle exec jekyll serve
|
||||||
```
|
```
|
||||||
6. Browse to [http://localhost:4000](http://localhost:4000){:target="_blank"}
|
6. Browse to [http://localhost:4000](http://localhost:4000){:target="_blank"}
|
||||||
|
|
Loading…
Reference in New Issue