From 866edcd574849b7c2196a9c645e4a7b2cd4e41a5 Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Sat, 10 Dec 2016 20:35:25 +0100 Subject: [PATCH] dont clobber other peoples changes --- doc/src/manual/interacting-with-julia.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/src/manual/interacting-with-julia.md b/doc/src/manual/interacting-with-julia.md index cf76decff1e4f7..77fcb2a3ab4c0e 100644 --- a/doc/src/manual/interacting-with-julia.md +++ b/doc/src/manual/interacting-with-julia.md @@ -310,7 +310,7 @@ end atreplinit(customize_colors) ``` -The available color keys can be seen by typing ``Base.text_colors`` in the help mode of the REPL. +The available color keys can be seen by typing `Base.text_colors` in the help mode of the REPL. In addition, the integers 0 to 255 can be used as color keys for terminals with 256 color support. @@ -319,12 +319,12 @@ input and answer text by setting the appropriate field of `repl` in the `customi above (respectively, `help_color`, `shell_color`, `input_color`, and `answer_color`). For the latter two, be sure that the `envcolors` field is also set to false. -You can also customize the color used to render warning and informational messages by setting -the appropriate environment variable. For instance, to render warning messages in yellow and informational -messages in cyan you can add the following to your `juliarc.jl` file: +You can also customize the color used to render warning and informational messages by +setting the appropriate environment variables. For instance, to render error, warning, and informational +messages respectively in magenta, yellow, and cyan you can add the following to your `juliarc.jl` file:: ```julia +ENV["JULIA_ERROR_COLOR"] = :magenta ENV["JULIA_WARN_COLOR"] = :yellow ENV["JULIA_INFO_COLOR"] = :cyan -ENV["JULIA_ERROR_COLOR"] = :magenta ```