commit | f0c9404122deac30cd812bb669bcab605c90f0d6 | [log] [tgz] |
---|---|---|
author | Marcel van Lohuizen <mpvl@golang.org> | Fri Feb 22 22:46:37 2019 +0100 |
committer | Marcel van Lohuizen <mpvl@google.com> | Mon Feb 25 11:36:55 2019 +0000 |
tree | d0a56e94ce71454e47336beafc37c80341dfa8f2 | |
parent | 0117d90cb64281722cc27c37e4bac8caf4aead3e [diff] [blame] |
doc/tutorial/basics: include commands to run To give the user a clue on how to get the output. Change-Id: I2fb92d08599c95b7b1cbd70e8f41d2760e359c14 Reviewed-on: https://cue-review.googlesource.com/c/1580 Reviewed-by: Marcel van Lohuizen <mpvl@google.com>
diff --git a/doc/tutorial/basics/fold.md b/doc/tutorial/basics/fold.md index 952c240..cb1eb0d 100644 --- a/doc/tutorial/basics/fold.md +++ b/doc/tutorial/basics/fold.md
@@ -7,11 +7,13 @@ CUE allows a shorthand for structs with single members. <!-- CUE editor --> +_fold.cue:_ ``` outer middle inner: 3 ``` <!-- JSON result --> +`$ cue export fold.cue` ```json { "outer": {