Merge pull request #5962 from jbampton/code-blocks-add-languages

docs: add language `console` to code blocks
This commit is contained in:
Yukihiro "Matz" Matsumoto
2023-04-04 12:09:54 +09:00
committed by GitHub
3 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -27,7 +27,7 @@ The latest development version of mruby can be downloaded via the following URL:
The trunk of the mruby source tree can be checked out with the
following command:
```
```console
$ git clone https://github.com/mruby/mruby.git
```
@@ -45,7 +45,7 @@ We don't have a mailing list, but you can use [GitHub issues](https://github.com
For the simplest case, type
```
```console
rake all test
```
@@ -57,13 +57,13 @@ There are two sets of documentation in mruby: the mruby API (generated by yard)
To build both of them, simply go
```
```console
rake doc
```
You can also view them in your browser
```
```console
rake view_api
rake view_capi
```
+1 -1
View File
@@ -527,7 +527,7 @@ After the build, you will get `libmruby.a`. You can link it to your application.
For compiler options and library path, you can use `mruby-config` command for
convenience. `mruby-config` command prints the configuration used for `libmruby.a`.
```
```console
$ mruby-config --help
Usage: mruby-config [switches]
switches:
+2 -2
View File
@@ -54,7 +54,7 @@ command with following options:
- `--cc` compiler name
- `--cflags` options passed to compiler
```
```console
$ mruby-config --cflags
-std=gnu99 -g -O3 -Wall -DMRB_GC_FIXED_ARENA -I/home/matz/work/mruby/include -I/home/matz/work/mruby/build/host/include
```
@@ -71,7 +71,7 @@ To retrieve linker options, you can use `mruby-config` with following options:
- `--ldflags-before-libs` options passed to linker before linked libraries
- `--libs` linked libraries
```
```console
$ mruby-config --ldflags
-L/home/matz/work/mruby/build/host/lib