Add lang identifiers to shell based codeblocks

This commit is contained in:
Ashwin Maroli 2021-10-28 12:29:31 +05:30
parent 7c619a7e2f
commit 10a73596d9
2 changed files with 5 additions and 5 deletions

View File

@ -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.
```
```sh
bundle exec jekyll serve --baseurl=""
```

View File

@ -24,19 +24,19 @@ See [Requirements]({{ '/docs/installation/#requirements' | relative_url }}) for
1. Install all [prerequisites]({{ '/docs/installation/' | relative_url }}).
2. Install the jekyll and bundler [gems]({{ '/docs/ruby-101/#gems' | relative_url }}).
```
```sh
gem install jekyll bundler
```
3. Create a new Jekyll site at `./myblog`.
```
```sh
jekyll new myblog
```
4. Change into your new directory.
```
```sh
cd myblog
```
5. Build the site and make it available on a local server.
```
```sh
bundle exec jekyll serve
```
6. Browse to [http://localhost:4000](http://localhost:4000){:target="_blank"}