You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@
10
10
A `Node.js` based command-line client for [tldr](https://github.com/tldr-pages/tldr).
11
11
12
12

13
+
*tldr-node-client's output for the `tar` page, using a custom color theme*
13
14
14
15
## Installing
15
16
@@ -43,9 +44,9 @@ As a contributor, you might also need the following commands:
43
44
44
45
## Configuration
45
46
46
-
You can configure the `tldr` client by adding a `.tldrrc` file in your HOME directory. Start by copying the `config.json` file from the repo.
47
+
You can configure the `tldr` client by adding a `.tldrrc` file in your HOME directory. You can copy the contents of the `config.json` file from the repo to get the basic structure to start with, and modify it to suit your needs.
47
48
48
-
You can choose any of the themes by changing the `"theme"` variable, or you can create your own theme and add it to the `"themes"` section. Note the the colors and text effects you can choose are limited. Refer [here](https://github.com/chalk/chalk#styles) for all options.
49
+
The default color theme is the one named `"simple"`. You can change the theme by assigning a different value to the `"theme"` variable -- either to choose one of the pre-configured themes, or to a new theme that you have previously created in the `"themes"` section. Note the the colors and text effects you can choose are limited. Refer to the [chalk documentation](https://github.com/chalk/chalk#styles) for all options.
0 commit comments