From 6621db635c5d91e956e997ff69adec116a85b672 Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Tue, 2 Aug 2022 10:36:41 +0200 Subject: [PATCH] use console highlighting where appropriate --- source/tutorials/nix-language.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/tutorials/nix-language.md b/source/tutorials/nix-language.md index d87c0ad..4bb53a2 100644 --- a/source/tutorials/nix-language.md +++ b/source/tutorials/nix-language.md @@ -57,7 +57,7 @@ The following example is a Nix expression adding two numbers: Use `nix-instantiate --eval` to evaluate the expression in a Nix file. -```shell +```console echo 1 + 2 > file.nix nix-instantiate --eval file.nix @@ -67,7 +67,7 @@ nix-instantiate --eval file.nix :::{note} `nix-instantiate --eval` will evaluate `default.nix` if no file name is specified. -```shell +```console echo 1 + 2 > default.nix nix-instantiate --eval @@ -77,7 +77,7 @@ nix-instantiate --eval Use `nix repl` to evaluate Nix expressions interactively (by typing them on the command line): -```shell +```console nix repl Welcome to Nix 2.5.1. Type :? for help.