doc/tutorial: fix typos
Closes #48
https://github.com/cuelang/cue/pull/48
GitOrigin-RevId: 449f1141b006d64795da5fb0b12d7a0447edca16
Change-Id: I445ee911e372644e6ee90589acdf5517d7d06f94
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/2140
Reviewed-by: Marcel van Lohuizen <mpvl@google.com>
diff --git a/doc/tutorial/basics/bytes.md b/doc/tutorial/basics/bytes.md
index 81b782b..0d7cd00 100644
--- a/doc/tutorial/basics/bytes.md
+++ b/doc/tutorial/basics/bytes.md
@@ -23,6 +23,6 @@
`$ cue export bytes.cue`
```json
{
- a: "A2FiYw=="
+ "a": "A2FiYw=="
}
```
diff --git a/doc/tutorial/basics/json.md b/doc/tutorial/basics/json.md
index 0bc70bb..2d54758 100644
--- a/doc/tutorial/basics/json.md
+++ b/doc/tutorial/basics/json.md
@@ -6,5 +6,5 @@
CUE is an extension of JSON.
This improves familiarity and makes it easy to get going quickly.
-In its simplist use case, CUE can substitute for a more pleasent way to write
+In its simplest use case, CUE can substitute for a more pleasant way to write
JSON.
diff --git a/doc/tutorial/basics/stringlit.md b/doc/tutorial/basics/stringlit.md
index c5e90c6..69c6c5a 100644
--- a/doc/tutorial/basics/stringlit.md
+++ b/doc/tutorial/basics/stringlit.md
@@ -28,7 +28,7 @@
```
<!-- JSON result -->
-`$ cue extract stringlit.cue`
+`$ cue export stringlit.cue`
```json
{
"a": "😎",
diff --git a/doc/tutorial/basics/stringraw.md b/doc/tutorial/basics/stringraw.md
index 8ea44fa..cb0c903 100644
--- a/doc/tutorial/basics/stringraw.md
+++ b/doc/tutorial/basics/stringraw.md
@@ -29,7 +29,7 @@
<!-- JSON result -->
`$ cue eval stringraw.cue`
-```json
+```
{
msg1: "The sequence \"\\U0001F604\" renders as 😄."
msg2: """
diff --git a/doc/tutorial/kubernetes/README.md b/doc/tutorial/kubernetes/README.md
index cdddc23..08999e4 100644
--- a/doc/tutorial/kubernetes/README.md
+++ b/doc/tutorial/kubernetes/README.md
@@ -292,7 +292,7 @@
By replacing the service and deployment name with `<Name>` we have changed the
definition into a template.
CUE bind the field name to `Name` as a result.
-During importing we used `metadata.data` as a key for the object names,
+During importing we used `metadata.name` as a key for the object names,
so we can now set this field to `Name`.
Templates are applied to (are unified with) all entries in the struct in which
@@ -1259,4 +1259,4 @@
<!-- TODO:
## Conversion to `docker-compose`
--->
\ No newline at end of file
+-->