Skip to content

Commit fa73bfe

Browse files
committed
Made some formatting changes and replaced the screengrab for running_r
1 parent cc55318 commit fa73bfe

File tree

4 files changed

+51
-2
lines changed

4 files changed

+51
-2
lines changed

docs/assets/rdev5.png

-6.74 KB
Loading

docs/container_setup/local_setup/localsetup.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,16 @@ localsetup](../../assets/rdev13.png)
5555
7. After clicking on that button we will see our container is getting ready. It
5656
will take some time. So till that time you can have coffee :) ![start
5757
localsetup](../../assets/rdev24.png)
58+
5859
8. We can also test whether the dev container is working or not by just printing
59-
the environment variables mentioned in the welcome message on the terminal. And
60-
there we go!!! We have setup our R Dev Container locally. ![start
60+
the environment variables mentioned in the welcome message on the terminal.
61+
62+
```console
63+
$ echo $BUILDDIR
64+
/workspaces/r-dev-env/bin/R
65+
```
66+
67+
And there we go!!! We have setup our R Dev Container locally. ![start
6168
localsetup](../../assets/rdev25.png)
6269

6370
9. The container will be closed when you close VSCode. To reopen the container,

docs/css/custom.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/* customise CSS for bash code chunks and bash sessions ("console") */
2+
3+
/* .gp = Generic Prompt (e.g., shell prompt like $ or >) */
4+
/* default: var(--md-code-hl-generic-color); */
5+
/* prompts treated as normal code in bash code chunks */
6+
.language-console.highlight code span.gp{
7+
color: #7aa2cd;
8+
}
9+
10+
/* .go = Generic output: output from a command */
11+
/* default: var(--md-code-hl-generic-color); */
12+
.language-console.highlight code span.go,
13+
.language-bash.highlight code span.go {
14+
color: var(--md-code-hl-generic-color);
15+
}
16+
17+
/* .nb = Built-in name like print, echo */
18+
/* default: var(--md-code-hl-constant-color); */
19+
.language-console.highlight code span.nb,
20+
.language-bash.highlight code span.nb {
21+
color: var(--md-code-hl-constant-color);
22+
}
23+
24+
/* .nv = Named variables like $BUILDDIR */
25+
/* default: var(--md-code-hl-variable-color); */
26+
/* use same as normal text: var(--md-code-fg-color); */
27+
.language-console.highlight code span.nv,
28+
.language-bash.highlight code span.nv {
29+
color: var(--md-code-fg-color);
30+
}
31+
32+
/* .c1 = Built-in name like print, echo */
33+
/* default: var(--md-code-hl-comment-color); */
34+
.language-console.highlight code span.c1,
35+
.language-bash.highlight code span.c1 {
36+
color: var(--md-code-hl-comment-color);
37+
}

mkdocs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ theme:
5858
primary: indigo
5959
accent: blue
6060

61+
extra_css:
62+
- css/custom.css
63+
6164
plugins:
6265
- social
6366
- search
@@ -71,6 +74,8 @@ extra:
7174

7275
markdown_extensions:
7376
- pymdownx.highlight:
77+
use_pygments: true
78+
pygments_lang_class: true
7479
anchor_linenums: true
7580
- pymdownx.inlinehilite
7681
- pymdownx.snippets

0 commit comments

Comments
 (0)